ci: make Claude PR Review non-blocking when API limit hits#291
Merged
Conversation
shuheng-liu
added a commit
that referenced
this pull request
May 12, 2026
shuheng-liu
added a commit
that referenced
this pull request
May 12, 2026
3 tasks
3 tasks
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 this does
Adds
continue-on-error: trueto thereviewjob in.github/workflows/claude-pr-review.yml. When the Anthropic API rate limit is reached the action errors out and turns the PR check red, which currently makes the per-commit rollup show a ❌ even though every other CI passed. With this flag, GitHub reports the workflow run as success regardless of the job outcome, so the PR shows green; the failure itself is still visible in the Actions tab if you want to debug it, and manual review remains the fallback when the automated review can't run.How it was tested
.github/workflows/claude-pr-review.yml.pre-commit run --files .github/workflows/claude-pr-review.ymllocally — yaml/zizmor/gitleaks/typos all pass.How to checkout & try? (for the reviewer)
Checklist
Note: Before submitting this PR, please read the contributor guideline.
Generated by Claude Code