Repository navigation
fix(ci): allow Dependabot to receive automated review #33
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
base: main
Are you sure you want to change the base?
Changes from all commits
52b89ed
d48dfbd
c6299e5
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 |
|---|---|---|
|
|
@@ -35,6 +35,7 @@ jobs: | |
| id: claude-review | ||
| uses: anthropics/claude-code-action@v1 | ||
| with: | ||
| allowed_bots: 'dependabot[bot]' | ||
|
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.
When this workflow is triggered by a Dependabot PR, allowing the bot only gets execution past the actor check: Useful? React with 👍 / 👎.
Contributor
Author
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. Verified from the actual Dependabot review log (job 114302823497): ALL_INPUTS has an empty claude_code_oauth_token, and CLAUDE_CODE_OAUTH_TOKEN / ANTHROPIC_API_KEY are empty. This is a real external prerequisite, not only the default secret model. The connector cannot list or provision Dependabot secrets. Keeping this finding unresolved and this PR unmerged until an administrator supplies the same-named Dependabot secret and a real bot-triggered review passes. |
||
| claude_code_oauth_token: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }} | ||
| plugin_marketplaces: 'https://github.com/anthropics/claude-code.git' | ||
| plugins: 'code-review@claude-code-plugins' | ||
|
|
||
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.
When an administrator follows this README to configure the repository, the
Required Secretssection still states that nothing beyondGITHUB_TOKENis needed, while this paragraph and.github/workflows/claude-code-review.yml:39requireCLAUDE_CODE_OAUTH_TOKEN. These contradictory instructions can leave human or Dependabot reviews unauthenticated; list the token and its required Actions/Dependabot scopes in that section and remove the blanket statement.Useful? React with 👍 / 👎.