Skip to content

Commit 20170c5

Browse files
authored
Refactor CLAUDE action configuration in workflow
Removed redundant comments and cleaned up the CLAUDE action configuration.
1 parent 8975f88 commit 20170c5

1 file changed

Lines changed: 2 additions & 17 deletions

File tree

.github/workflows/claude.yml

Lines changed: 2 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -23,28 +23,13 @@ jobs:
2323
pull-requests: write
2424
issues: write
2525
id-token: write
26-
actions: read # Required for Claude to read CI results on PRs
27-
steps:
28-
- name: Checkout repository
29-
uses: actions/checkout@v4
30-
with:
31-
fetch-depth: 1
26+
actions: read
3227

28+
steps:
3329
- name: Run Claude Code
3430
id: claude
3531
uses: anthropics/claude-code-action@v1
3632
with:
3733
claude_code_oauth_token: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }}
38-
39-
# This is an optional setting that allows Claude to read CI results on PRs
4034
additional_permissions: |
4135
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://code.claude.com/docs/en/cli-reference for available options
49-
# claude_args: '--allowed-tools Bash(gh pr:*)'
50-

0 commit comments

Comments
 (0)