Skip to content

ci: skip CI and release runs for agent-only changes - #5183

Merged
zbeyens merged 1 commit into
mainfrom
codex/ci-skip-agent-files
Oct 16, 2026
Merged

zbeyens merged 1 commit into
mainfrom
codex/ci-skip-agent-files

Conversation

@zbeyens

@zbeyens zbeyens commented Oct 16, 2026 •

Copy link
Copy Markdown
Member

Why

Agent-only PRs, such as pstack syncs, ran the full CI suite (bun check: workflow check, lint, typecheck, all tests and the slowest tests) on the PR and check:push again on the merge, plus the release job on main, without touching any code those runs check.

What changed

  • ci.yml no longer lists .agents/**, .claude/**, .codex/**, AGENTS.md, CLAUDE.md or skills-lock.json in its push and pull_request path filters.
  • release.yml's push trigger ignores those same paths. GitHub skips a run only when every changed file matches, so a push that also changes code or adds a changeset still releases.
  • pnpm check:workflow stays the local gate after a rule edit, as AGENTS.md and docs/development/agent-skills.md already say, and it still runs inside bun check whenever CI runs for other paths.

Verification

  • The diff only removes six path entries twice from ci.yml and adds the same six as paths-ignore in release.yml.
  • Not run: no agent-only PR has gone through the new triggers yet. This PR itself changes .github/workflows/**, so it still runs CI.

Shipped fast, no review.

A change that touches only agent files (.agents, .claude, .codex, AGENTS.md,
CLAUDE.md, skills-lock.json) no longer runs the full CI suite on its PR or on
its merge, and no longer starts the release job on main or next. Contributors
run pnpm check:workflow locally after editing rules, as AGENTS.md says. A push
that also changes code, tooling or a changeset still runs both workflows.

Shipped fast, no review.
@zbeyens
zbeyens requested a review from a team October 16, 2026 23:52
@codesandbox

codesandbox Bot commented Oct 16, 2026

Copy link
Copy Markdown

Review or Edit in CodeSandbox

Open the branch in Web Editor • VS Code • Insiders

Open Preview

@changeset-bot

changeset-bot Bot commented Oct 16, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: 12926ab

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ⚠️ Failed 2026-10-16T23:52:47.661323Z 12926ab PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

@zbeyens
zbeyens merged commit ad746c5 into main Oct 16, 2026
5 checks passed
@zbeyens
zbeyens deleted the codex/ci-skip-agent-files branch October 16, 2026 23:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant