chore: add model to the github actionw orkflow (#377)
* chore: add model to the github actionw orkflow * chore: fix model arg to new syntax
This commit is contained in:
parent
56aed23939
commit
f330cce386
|
|
@ -39,6 +39,7 @@ jobs:
|
||||||
plugin_marketplaces: 'https://github.com/anthropics/claude-code.git'
|
plugin_marketplaces: 'https://github.com/anthropics/claude-code.git'
|
||||||
plugins: 'code-review@claude-code-plugins'
|
plugins: 'code-review@claude-code-plugins'
|
||||||
prompt: '/code-review:code-review ${{ github.repository }}/pull/${{ github.event.pull_request.number }}'
|
prompt: '/code-review:code-review ${{ github.repository }}/pull/${{ github.event.pull_request.number }}'
|
||||||
|
claude_args: '--model claude-opus-4-6'
|
||||||
# See https://github.com/anthropics/claude-code-action/blob/main/docs/usage.md
|
# 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
|
# or https://code.claude.com/docs/en/cli-reference for available options
|
||||||
|
|
||||||
|
|
@ -79,6 +80,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 }}
|
||||||
|
claude_args: '--model claude-opus-4-6'
|
||||||
|
|
||||||
# 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: |
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue