Skip to content

Commit dd60f90

Browse files
committed
Switch claude-code-action to @v1 API: use_vertex + github_token + claude_args
1 parent 46173be commit dd60f90

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

.github/workflows/container-scan.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -167,15 +167,15 @@ jobs:
167167
168168
- name: Claude analysis on Vertex AI
169169
if: steps.triage.outputs.cve_ids != ''
170-
uses: anthropics/claude-code-action@beta
170+
uses: anthropics/claude-code-action@v1
171171
env:
172172
CLAUDE_CODE_USE_VERTEX: '1'
173173
CLOUD_ML_REGION: global
174174
ANTHROPIC_VERTEX_PROJECT_ID: ${{ vars.GCP_PROJECT_ID }}
175175
with:
176-
claude_args: |
177-
--model claude-sonnet-4-6
178-
--max-turns 30
176+
use_vertex: 'true'
177+
github_token: ${{ secrets.GITHUB_TOKEN }}
178+
claude_args: '--model claude-sonnet-4-6 --max-turns 30'
179179
settings: |
180180
{
181181
"permissions": {

0 commit comments

Comments
 (0)