Skip to content

Run Claude Code Review only on PRs labelled claude-review - #25

Merged
CodeWithBehnam merged 1 commit into
mainfrom
claude/lucid-franklin-gsu7v4
Oct 1, 2026
Merged

CodeWithBehnam merged 1 commit into
mainfrom
claude/lucid-franklin-gsu7v4

Conversation

@CodeWithBehnam

Copy link
Copy Markdown
Owner

Why

claude-review fails on every PR because the CLAUDE_CODE_OAUTH_TOKEN secret holds a revoked token (401, "OAuth access token has been revoked"; see the diagnosis on #24). Fixing it needs a new credential, which can't come from a PR.

What

  • The review job runs only when a PR carries the claude-review label. Adding the label starts a review, and later pushes re-run it.
  • Unlabelled PRs show the check as skipped instead of failed.
  • Nothing else in the workflow changes. Once a valid token (or an anthropic_api_key) is in the secrets, labelling a PR is all it takes.

Reviews meanwhile come from Claude Code sessions, as on #24.

🤖 Generated with Claude Code

https://claude.ai/code/session_01TMXYMqgLAykqRApmbRfpTA


Generated by Claude Code

The CLAUDE_CODE_OAUTH_TOKEN secret is revoked, so the job fails on every
pull request. Make it opt-in: adding the claude-review label starts a
review and later pushes re-run it; unlabelled PRs show it as skipped.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01TMXYMqgLAykqRApmbRfpTA
@CodeWithBehnam
CodeWithBehnam merged commit 3fd9b6b into main Oct 1, 2026
4 checks passed
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.

2 participants