-
Notifications
You must be signed in to change notification settings - Fork 0
chore(codex): skip codex track on bootstrap-paths #18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -8,6 +8,22 @@ name: PR Codex Review | |||||||||||||||||||||||||||||||||||
| on: | ||||||||||||||||||||||||||||||||||||
| pull_request: | ||||||||||||||||||||||||||||||||||||
| types: [opened, synchronize] | ||||||||||||||||||||||||||||||||||||
| # Skip the entire Codex track on bootstrap-paths. The classifier flags | ||||||||||||||||||||||||||||||||||||
| # these as risk:blocked and exits 1, which would surface as a failing | ||||||||||||||||||||||||||||||||||||
| # `PR Codex Review / classify` check + a cascading-skipped review job. | ||||||||||||||||||||||||||||||||||||
| # Both are noise — bootstrap-path PRs always require admin merge by | ||||||||||||||||||||||||||||||||||||
| # design, so a secondary review adds no signal. | ||||||||||||||||||||||||||||||||||||
| # | ||||||||||||||||||||||||||||||||||||
| # SAFETY: Codex review is NOT in the required-checks ruleset on | ||||||||||||||||||||||||||||||||||||
| # ci-workflows main (verified: only `review / Claude Review` is | ||||||||||||||||||||||||||||||||||||
| # required), so paths-ignore here does NOT create a deadlock. If you | ||||||||||||||||||||||||||||||||||||
| # add this check to a ruleset later, drop these excludes. | ||||||||||||||||||||||||||||||||||||
| paths-ignore: | ||||||||||||||||||||||||||||||||||||
| - ".github/workflows/**" | ||||||||||||||||||||||||||||||||||||
| - ".github/dependabot.yml" | ||||||||||||||||||||||||||||||||||||
| - ".github/risk-paths.yml" | ||||||||||||||||||||||||||||||||||||
| - ".github/CODEOWNERS" | ||||||||||||||||||||||||||||||||||||
| - "Dockerfile" | ||||||||||||||||||||||||||||||||||||
|
Comment on lines
+21
to
+26
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Bug: The following paths are all
The stated goal of this PR is to suppress that noise on all bootstrap paths — but these gaps mean it only partially achieves that. Suggest keeping the two lists in sync, e.g.:
Suggested change
|
||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||
| permissions: | ||||||||||||||||||||||||||||||||||||
| contents: read | ||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Bug: glob mismatch with
risk-paths.ymlrisk-paths.ymllistsblocked: Dockerfile*(glob), soDockerfile.dev,Dockerfile.prod, etc. all exit the classifier withrisk:blocked. This entry only matches the bareDockerfile, so a PR touching onlyDockerfile.prodwould still trigger the noisy failingclassifycheck that this PR is trying to suppress.