fix(workflow): update Claude action to use claude_args for model configuration (#7834)
This commit is contained in:
commit
288f4e3e8e
1 changed files with 1 additions and 6 deletions
7
.github/workflows/claude.yml
vendored
7
.github/workflows/claude.yml
vendored
|
|
@ -36,7 +36,7 @@ jobs:
|
||||||
uses: anthropics/claude-code-action@v1
|
uses: anthropics/claude-code-action@v1
|
||||||
with:
|
with:
|
||||||
claude_code_oauth_token: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }}
|
claude_code_oauth_token: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }}
|
||||||
model: opus
|
claude_args: '--model opus'
|
||||||
|
|
||||||
# This is an optional setting that allows Claude to read CI results on PRs
|
# This is an optional setting that allows Claude to read CI results on PRs
|
||||||
additional_permissions: |
|
additional_permissions: |
|
||||||
|
|
@ -45,8 +45,3 @@ jobs:
|
||||||
# When triggered by Claude label, provide default prompt to work on the issue
|
# When triggered by Claude label, provide default prompt to work on the issue
|
||||||
prompt: ${{ github.event.action == 'labeled' && 'ultrathink Please analyze this issue and implement a solution. Follow the project guidelines in CLAUDE.md.' || '' }}
|
prompt: ${{ github.event.action == 'labeled' && 'ultrathink Please analyze this issue and implement a solution. Follow the project guidelines in CLAUDE.md.' || '' }}
|
||||||
|
|
||||||
# Optional: Add claude_args to customize behavior and configuration
|
|
||||||
# See https://github.com/anthropics/claude-code-action/blob/main/docs/usage.md
|
|
||||||
# or https://code.claude.com/docs/en/cli-reference for available options
|
|
||||||
# claude_args: '--allowed-tools Bash(gh pr:*)'
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue