Skip to content

Commit df9faf8

Browse files
authored
fix(workflow): add actions:read permission and use GITHUB_TOKEN (#335)
1 parent 64ac32d commit df9faf8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/claude.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ jobs:
1616
pull-requests: write
1717
issues: write
1818
id-token: write
19+
actions: read
1920

2021
steps:
2122
- name: Install bun
@@ -27,7 +28,7 @@ jobs:
2728
- name: Claude Code Action
2829
uses: anthropics/[email protected]
2930
with:
30-
github_token: ${{ secrets.MY_GITHUB_TOKEN }}
31+
github_token: ${{ secrets.GITHUB_TOKEN }}
3132
anthropic_api_key: ${{secrets.ANTHROPIC_API_KEY}}
3233
claude_env: |
3334
DEBUG: true

0 commit comments

Comments
 (0)