Skip to content

Commit f1d4ceb

Browse files
minitrigaclaude
andcommitted
fix: pass GITHUB_TOKEN to implement workflow for push permissions
Claude couldn't push branches because the OAuth token from the GitHub App may not have contents:write. Explicitly pass the workflow's GITHUB_TOKEN (which has contents:write from job permissions) so git push and gh pr create work. Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
1 parent 2059b8d commit f1d4ceb

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

.github/workflows/claude-implement.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,7 @@ jobs:
7878
uses: anthropics/claude-code-action@v1
7979
with:
8080
claude_code_oauth_token: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }}
81+
github_token: ${{ secrets.GITHUB_TOKEN }}
8182
claude_args: >-
8283
--model claude-sonnet-4-20250514
8384
--max-turns 50

0 commit comments

Comments
 (0)