Skip to content

Commit 595c3bc

Browse files
committed
chore: fix claude.yml permissions and update actions versions
Grant pull-requests and issues write access so Claude can post comments, and remove redundant additional_permissions block. Update actions/checkout from v4 to v6. Signed-off-by: Alejandro Mery <amery@apptly.co>
1 parent 96b6216 commit 595c3bc

1 file changed

Lines changed: 3 additions & 5 deletions

File tree

.github/workflows/claude.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,13 @@ jobs:
2020
runs-on: ubuntu-latest
2121
permissions:
2222
contents: read
23-
pull-requests: read
24-
issues: read
23+
pull-requests: write
24+
issues: write
2525
id-token: write
2626
actions: read
2727
steps:
2828
- name: Checkout repository
29-
uses: actions/checkout@v4
29+
uses: actions/checkout@v6
3030
with:
3131
fetch-depth: 1
3232

@@ -35,5 +35,3 @@ jobs:
3535
uses: anthropics/claude-code-action@v1
3636
with:
3737
claude_code_oauth_token: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }}
38-
additional_permissions: |
39-
actions: read

0 commit comments

Comments
 (0)