@@ -26,39 +26,25 @@ jobs:
2626 actions : read # Required for Claude to read CI results on PRs
2727 steps :
2828 - name : Checkout repository
29- uses : actions/checkout@v5
29+ uses : actions/checkout@v4
3030 with :
3131 fetch-depth : 1
3232
3333 - name : Run Claude Code
3434 id : claude
35- uses : anthropics/claude-code-action@beta
35+ uses : anthropics/claude-code-action@v1
3636 with :
3737 claude_code_oauth_token : ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }}
3838
3939 # This is an optional setting that allows Claude to read CI results on PRs
4040 additional_permissions : |
4141 actions: read
42-
43- # Optional: Specify model (defaults to Claude Sonnet 4, uncomment for Claude Opus 4.1)
44- # model: "claude-opus-4-1-20250805"
45-
46- # Optional: Customize the trigger phrase (default: @claude)
47- # trigger_phrase: "/claude"
48-
49- # Optional: Trigger when specific user is assigned to an issue
50- # assignee_trigger: "claude-bot"
51-
52- # Optional: Allow Claude to run specific commands
53- # allowed_tools: "Bash(npm install),Bash(npm run build),Bash(npm run test:*),Bash(npm run lint:*)"
54-
55- # Optional: Add custom instructions for Claude to customize its behavior for your project
56- # custom_instructions: |
57- # Follow our coding standards
58- # Ensure all new code has tests
59- # Use TypeScript for new files
60-
61- # Optional: Custom environment variables for Claude
62- # claude_env: |
63- # NODE_ENV: test
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:*)'
6450
0 commit comments