Skip to content

Commit ed683ed

Browse files
committed
fix: use GH_TOKEN for Claude issue automation
Align issue auto-label and Claude action authentication with the PraisonAI setup so issue-triggered Claude workflows reliably chain and execute. Made-with: Cursor
1 parent cf7ddbf commit ed683ed

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/auto-issue-comment.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
- name: Add claude label to trigger analysis
1717
uses: actions/github-script@v7
1818
with:
19-
github-token: ${{ secrets.GITHUB_TOKEN }}
19+
github-token: ${{ secrets.GH_TOKEN }}
2020
script: |
2121
const labels = context.payload.issue.labels.map(l => l.name);
2222
if (labels.includes('claude')) {

.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.GITHUB_TOKEN }}
42+
GH_TOKEN: ${{ secrets.GH_TOKEN }}
4343
with:
4444
allowed_bots: 'praisonai-triage-agent[bot]'
4545
claude_code_oauth_token: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }}
46-
github_token: ${{ secrets.GITHUB_TOKEN }}
46+
github_token: ${{ secrets.GH_TOKEN }}
4747
trigger_phrase: "@claude"
4848
label_trigger: "claude"
4949
direct_prompt: |

0 commit comments

Comments
 (0)