Skip to content

Commit cb5dad3

Browse files
committed
fix(ci): pass github_token explicitly to @claude action
The action does not default github_token — it must be explicitly set for the action to post response comments and interact with the GitHub API.
1 parent 81a5d18 commit cb5dad3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/claude.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,7 @@ jobs:
116116
uses: anthropics/claude-code-action@v1
117117
with:
118118
claude_code_oauth_token: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }}
119+
github_token: ${{ secrets.GITHUB_TOKEN }}
119120
trigger_phrase: "@claude"
120121
prompt: |
121122
When asked to create a GitHub issue, route it to the correct repository:

0 commit comments

Comments
 (0)