Skip to content

Commit 2834163

Browse files
maxprilutskiyclaude
andcommitted
fix: add github_token to claude-code-action for proper permissions
Resolves autolabeler workflow failure by passing GITHUB_TOKEN directly to the claude-code-action, enabling write access for issue labeling. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent 457d8de commit 2834163

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

.github/workflows/claude-issue-autolabel.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ jobs:
5252
uses: anthropics/claude-code-action@beta
5353
with:
5454
anthropic_api_key: ${{ secrets.CLAUDE_CODE_ANTHROPIC_API_KEY }}
55+
github_token: ${{ secrets.GITHUB_TOKEN }}
5556
timeout_minutes: "5"
5657
allowed_tools: "Bash"
5758
direct_prompt: |

0 commit comments

Comments
 (0)