Skip to content

Commit bb8f08b

Browse files
authored
Merge pull request #2 from coder/add-claude-github-actions-1748008991102
Add Claude Code GitHub Workflow
2 parents 69fb339 + 273ce90 commit bb8f08b

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

.github/workflows/claude.yml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,6 @@ on:
1010
pull_request_review:
1111
types: [submitted]
1212

13-
permissions:
14-
contents: read
15-
1613
jobs:
1714
claude:
1815
if: |
@@ -23,16 +20,18 @@ jobs:
2320
runs-on: ubuntu-latest
2421
permissions:
2522
contents: read
23+
pull-requests: read
24+
issues: read
2625
id-token: write
2726
steps:
2827
- name: Checkout repository
29-
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
28+
uses: actions/checkout@v4
3029
with:
3130
fetch-depth: 1
32-
persist-credentials: false
3331

3432
- name: Run Claude Code
3533
id: claude
36-
uses: anthropics/claude-code-action@8e84799f37d42f24e0ebae41205346879bdcab5a # v0.0.7
34+
uses: anthropics/claude-code-action@beta
3735
with:
3836
anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY }}
37+

0 commit comments

Comments
 (0)