Skip to content

Commit 62ac5f2

Browse files
jamesrwebclaude
andcommitted
🔧 chore(ci): Add workflows permission to Claude Code Action
Grant workflows:write so Claude can push branches whose history includes commits that modified workflow files. Without this, GitHub rejects the push even if Claude's own commit doesn't touch any workflow files. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 20ccfe9 commit 62ac5f2

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

.github/workflows/claude.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ jobs:
2727
issues: write
2828
id-token: write
2929
actions: read # Required for Claude to read CI results on PRs
30+
workflows: write # Required for Claude to push branches that include workflow file changes in history
3031
steps:
3132
- name: Checkout repository
3233
uses: actions/checkout@v6

0 commit comments

Comments
 (0)