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
6 changes: 6 additions & 0 deletions .github/workflows/claude-assistant.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,12 @@ jobs:
id: claude
uses: anthropics/claude-code-action@26ec041249acb0a944c0a47b6c0c13f05dbc5b44 # v1
with:
# claude-code-action rejects non-User actors unless explicitly allowed.
# The caller's author_association guard (OWNER/MEMBER/COLLABORATOR) is
# the primary authorization — this list only names the bots that are
# legitimate secondary triggers (e.g., claude[bot] updating a thread,
# github-actions[bot] re-running after a synchronize push).
allowed_bots: "claude[bot],github-actions[bot]"
claude_code_oauth_token: ${{ secrets.claude_oauth_token }}

# Required for Claude to read CI results on PRs
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/claude-blocking-review.yml
Original file line number Diff line number Diff line change
Expand Up @@ -374,6 +374,12 @@ jobs:
continue-on-error: true # infrastructure failure must not block merges
uses: anthropics/claude-code-action@v1
with:
# claude-code-action rejects non-User actors unless explicitly allowed.
# Callers use this on pull_request events that fire for bot-opened PRs
# (dependabot) and synchronize events triggered by bot pushes (claude,
# github-actions). Named list only — see docs/security.md in the action
# repo for why `*` is discouraged.
allowed_bots: "claude[bot],github-actions[bot],dependabot[bot]"
claude_code_oauth_token: ${{ secrets.claude_oauth_token }}
prompt: |
REPO: ${{ github.repository }}
Expand Down
Loading