ci(claude-review): skip on dependabot-authored PRs#674
Open
jidulberger wants to merge 1 commit into
Open
Conversation
The workflow's `head.repo.full_name` guard skips fork PRs (they lack secret access), but dependabot pushes to same-repo branches, so it falls through. GitHub separately withholds repo secrets from dependabot-triggered runs since 2020 — `ANTHROPIC_API_KEY` is empty and the action fails. That's the red 1/8 on every open dependabot PR (#673, #672, #671, #669, #668, #642, #641). Add `github.actor != 'dependabot[bot]'` to the same-repo guard. Dependabot bumps are routine and don't need AI review. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com> Signed-off-by: Josh Dulberger <jdulberger@Joshs-MacBook-Air-2.local>
Ensemble Code ReviewVerdict: approve Summary: A minimal, correct CI-only change that adds Findings (none — all reviewers approved)The Verifier confirmed the Suggestions (2)
Generated by Operon Ensemble Code Review. |
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.
Summary
claude-code-review.ymlalready skips fork PRs (they can't seeANTHROPIC_API_KEY), but dependabot pushes to same-repo branches, so it falls through and fails with an empty secret.github.actor != 'dependabot[bot]'to the same-repo guard. Removes the red 1/8 on every open dependabot PR (chore(deps-dev): bump @types/node from 25.9.3 to 26.1.1 #673, chore(deps): bump posthog-node from 5.37.1 to 5.40.0 in the production-dependencies group across 1 directory #672, chore(deps-dev): bump the dev-dependencies group with 6 updates #671, chore(deps): bump docker/login-action from 4.2.0 to 4.4.0 #669, chore(deps): bump github/codeql-action/analyze from 4.36.2 to 4.36.3 #668, chore(deps): bump actions/checkout from 6.0.3 to 7.0.0 #642, chore(deps): bump pnpm/action-setup from 6.0.8 to 6.0.9 #641) and every future dep bump.Test plan
claude-reviewjob should beskippedrather thanfailed.dependabot[bot]).🤖 Generated with Claude Code