Skip to content

fix(ci): allow Dependabot to receive automated review - #33

Open
Jamie-BitFlight wants to merge 3 commits into
mainfrom
repair/dependabot-review
Open

Jamie-BitFlight wants to merge 3 commits into
mainfrom
repair/dependabot-review

Conversation

@Jamie-BitFlight

@Jamie-BitFlight Jamie-BitFlight commented Oct 11, 2026 •

Copy link
Copy Markdown
Contributor

Dependency PRs #29 and #30 fail Claude review before inspection: job114302823497 reports Workflow initiated by non-human actor: dependabot (type: Bot). Configure the supported allowed_bots input for this specific bot, retaining all functional checks.

Verified external prerequisite: the same job has an EMPTY claude_code_oauth_token in ALL_INPUTS, and empty CLAUDE_CODE_OAUTH_TOKEN / ANTHROPIC_API_KEY. An administrator must configure CLAUDE_CODE_OAUTH_TOKEN in this repository's Dependabot secret store (Settings → Secrets and variables → Dependabot). The connector cannot access or provision that store. Do not paste the token into a PR or conversation.

Workflow documentation now explains this prerequisite. Current main is merged into this branch. Keep this PR unmerged until the credential is supplied and an actual Dependabot-triggered review passes; a human-triggered green run is insufficient.

@coderabbitai

coderabbitai Bot commented Oct 11, 2026 •

Copy link
Copy Markdown

Important

  • 🔍 Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

⚙️ Run configuration
  • Configuration used: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 9a799a77-ae20-40d3-99cc-75acb3002274

  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 11, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-11T01:15:20.198915Z c6299e5 New commits
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 52b89ed7fd

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

id: claude-review
uses: anthropics/claude-code-action@v1
with:
allowed_bots: 'dependabot[bot]'

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Add the OAuth token to Dependabot secrets

When this workflow is triggered by a Dependabot PR, allowing the bot only gets execution past the actor check: secrets.CLAUDE_CODE_OAUTH_TOKEN is populated from the Dependabot secret store, not the existing GitHub Actions secret store. Unless the same token has separately been configured as a Dependabot secret, the action will proceed without Claude authentication and these reviews will still fail. Provision and document the same-named Dependabot secret before enabling the bot; GitHub explicitly requires this for workflows used by both Dependabot and human actors in its Dependabot Actions guidance.

Useful? React with 👍 / 👎.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The 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.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: c6299e5bcf

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".


### claude-code-review.yml

Automated review accepts human contributors and the `dependabot[bot]` actor. Dependabot-triggered runs read Dependabot secrets, so configure `CLAUDE_CODE_OAUTH_TOKEN` under repository Settings → Secrets and variables → Dependabot as well as the Actions secret used by human-triggered runs. Keep the token in GitHub's secret stores. Verify a real Dependabot-triggered review after configuration; a successful human-triggered review does not establish that the bot received credentials.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Update the required-secrets inventory

When an administrator follows this README to configure the repository, the Required Secrets section still states that nothing beyond GITHUB_TOKEN is needed, while this paragraph and .github/workflows/claude-code-review.yml:39 require CLAUDE_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 👍 / 👎.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant