Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 2 additions & 8 deletions .github/workflows/claude-code-review.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ on:
jobs:
claude-review:
# Skip PRs we shouldn't (or can't) review:
# - Dependabot / forks: no OIDC token to exchange, so the action would fail.
# - Dependabot / forks: no CLAUDE_CODE_OAUTH_TOKEN, so the action would fail.
# - release-please release PRs: just version bumps + changelog — nothing to
# review, and it must never block a release.
# - Back-merge PRs (production -> dev, opened by release-please.yml): only
Expand Down Expand Up @@ -44,13 +44,7 @@ jobs:
id: claude-review
uses: anthropics/claude-code-action@v1
with:
# Workload identity federation: the action swaps the job's GitHub OIDC
# token (hence `id-token: write`) for a short-lived Anthropic token.
# No stored secret. These IDs aren't secret either.
anthropic_federation_rule_id: fdrl_01TQKFjxagS7QzsRp6royjYN
anthropic_organization_id: 43f1fdcd-16a2-46c9-902d-f939b82bb4f4
anthropic_service_account_id: svac_01TcDsbHiTCxQ5m7aNHrBgLg
anthropic_workspace_id: wrkspc_01SadkG1A6MDwLr3FVD1VmyN
claude_code_oauth_token: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }}
plugin_marketplaces: 'https://github.com/anthropics/claude-code.git'
plugins: 'code-review@claude-code-plugins'
# --comment is required for the review to be posted to the PR: the
Expand Down
8 changes: 1 addition & 7 deletions .github/workflows/claude.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,13 +34,7 @@ jobs:
id: claude
uses: anthropics/claude-code-action@v1
with:
# Workload identity federation: the action swaps the job's GitHub OIDC
# token (hence `id-token: write`) for a short-lived Anthropic token.
# No stored secret. These IDs aren't secret either.
anthropic_federation_rule_id: fdrl_01TQKFjxagS7QzsRp6royjYN
anthropic_organization_id: 43f1fdcd-16a2-46c9-902d-f939b82bb4f4
anthropic_service_account_id: svac_01TcDsbHiTCxQ5m7aNHrBgLg
anthropic_workspace_id: wrkspc_01SadkG1A6MDwLr3FVD1VmyN
claude_code_oauth_token: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }}

# This is an optional setting that allows Claude to read CI results on PRs
additional_permissions: |
Expand Down
Loading