Skip to content

Commit 3c698b4

Browse files
committed
fix: keep Claude action auth on GITHUB_TOKEN
Use GH_TOKEN only for auto issue label chaining, while keeping claude-code-action authentication on GITHUB_TOKEN to avoid bad-credentials failures. Made-with: Cursor
1 parent ed683ed commit 3c698b4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/claude.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,11 +39,11 @@ jobs:
3939

4040
- uses: anthropics/claude-code-action@beta
4141
env:
42-
GH_TOKEN: ${{ secrets.GH_TOKEN }}
42+
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4343
with:
4444
allowed_bots: 'praisonai-triage-agent[bot]'
4545
claude_code_oauth_token: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }}
46-
github_token: ${{ secrets.GH_TOKEN }}
46+
github_token: ${{ secrets.GITHUB_TOKEN }}
4747
trigger_phrase: "@claude"
4848
label_trigger: "claude"
4949
direct_prompt: |

0 commit comments

Comments
 (0)