Skip to content

Commit 67caede

Browse files
committed
"Update Claude PR Assistant workflow"
1 parent fd20c95 commit 67caede

File tree

1 file changed

+15
-4
lines changed

1 file changed

+15
-4
lines changed

.github/workflows/claude.yml

Lines changed: 15 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,10 @@ jobs:
2323
pull-requests: read
2424
issues: read
2525
id-token: write
26+
actions: read # Required for Claude to read CI results on PRs
2627
steps:
2728
- name: Checkout repository
28-
uses: actions/checkout@v5
29+
uses: actions/checkout@v4
2930
with:
3031
fetch-depth: 1
3132

@@ -34,6 +35,16 @@ jobs:
3435
uses: anthropics/claude-code-action@v1
3536
with:
3637
anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY }}
37-
claude_args: |
38-
--allowedTools "Bash(bun install),Bash(bun test:*),Bash(bun run format),Bash(bun typecheck)"
39-
--model "claude-opus-4-1-20250805"
38+
39+
# This is an optional setting that allows Claude to read CI results on PRs
40+
additional_permissions: |
41+
actions: read
42+
43+
# Optional: Give a custom prompt to Claude. If this is not specified, Claude will perform the instructions specified in the comment that tagged it.
44+
# prompt: 'Update the pull request description to include a summary of changes.'
45+
46+
# Optional: Add claude_args to customize behavior and configuration
47+
# See https://github.com/anthropics/claude-code-action/blob/main/docs/usage.md
48+
# or https://docs.claude.com/en/docs/claude-code/cli-reference for available options
49+
# claude_args: '--allowed-tools Bash(gh pr:*)'
50+

0 commit comments

Comments
 (0)