Sync claude-code-review.yml to main so the review gate validates again - #429
Merged
Merged
Conversation
Every Dependabot PR carried a red X from the review check, which failed
twice over instead of reviewing: claude-code-action rejects non-human
actors outright ("Workflow initiated by non-human actor: dependabot"),
and a dependabot-triggered run draws from the Dependabot secret store,
not the Actions one, so CLAUDE_CODE_OAUTH_TOKEN was empty regardless.
Both open bumps (#420, #422) build and pass tests; only this check
blocked them. A version bump has nothing an AI review would catch that
build-and-test doesn't, so skip - neutral, not red - in the same spirit
as the existing draft/fork/release-PR exclusions.
Cherry-picked from dev (6decaf8) directly onto main because
claude-code-action validates the running workflow file against the
default-branch copy and silently skips with conclusion=success on any
mismatch. This 8-line drift disabled the review gate on every PR since
2026-08-03.
Fixes #428
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
|
Reviewed. This is a pure CI workflow sync ( The added condition ( |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What does this PR do?
Fixes #428.
Cherry-picks 6decaf8 from dev onto main so
.github/workflows/claude-code-review.ymlis byte-identical on the default branch again.claude-code-actionvalidates the running workflow file against the default-branch copy and silently skips withconclusion=successon any mismatch, so this 8-line drift (the Dependabot skip from #423) disabled the review gate on every PR since 2026-08-03.Direct push to main is blocked by repository rules, hence this PR. The review check on this PR will itself skip by design (it modifies the workflow file). Verification that the gate is live again happens separately: re-run the review on #426 and confirm the log shows a real review (token spend, no validation warning).
🤖 Generated with Claude Code