From f4c4962ceee62eb9fb5da44b4167f0babaada915 Mon Sep 17 00:00:00 2001 From: Justin Gordon Date: Sun, 1 Mar 2026 14:41:05 -1000 Subject: [PATCH] Add checks/statuses read permissions to Claude workflow --- .github/workflows/claude.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/claude.yml b/.github/workflows/claude.yml index d300267f..46a35416 100644 --- a/.github/workflows/claude.yml +++ b/.github/workflows/claude.yml @@ -24,6 +24,8 @@ jobs: issues: read id-token: write actions: read # Required for Claude to read CI results on PRs + checks: read + statuses: read steps: - name: Checkout repository uses: actions/checkout@v4 @@ -34,11 +36,14 @@ jobs: id: claude uses: anthropics/claude-code-action@v1 with: + github_token: ${{ github.token }} 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: | actions: read + checks: read + statuses: read # Optional: Give a custom prompt to Claude. If this is not specified, Claude will perform the instructions specified in the comment that tagged it. # prompt: 'Update the pull request description to include a summary of changes.'