File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -117,11 +117,7 @@ jobs:
117117
118118 - name : Run Claude Code
119119 id : claude
120- # TEMP: swapped @v1 → @beta to surface the real underlying error
121- # being masked by the AJV obfuscation in @v1 (see upstream
122- # anthropics/claude-code-action#892 comment by ovceev 2026-03-10).
123- # Revert to @v1 once we have a clear error from the next trigger.
124- uses : anthropics/claude-code-action@beta
120+ uses : anthropics/claude-code-action@v1
125121 with :
126122 claude_code_oauth_token : ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }}
127123
@@ -137,7 +133,13 @@ jobs:
137133 # styler::style_pkg(), R CMD ...) — toolchain is installed above;
138134 # * file follow-up issues for work deferred out of the current PR
139135 # (gh issue create / comment / edit / view / list).
140- claude_args : ' --allowed-tools "Bash(Rscript:*)" "Bash(R:*)" "Bash(R CMD:*)" "Bash(gh issue:*)"'
136+ # Pin the model explicitly: the action's default points at
137+ # claude-sonnet-4-20250514, which is retired and returns 404 from
138+ # the API. The 404 in turn manifests as the obfuscated AJV crash
139+ # in sdk.mjs documented in upstream issue #892. Once that issue
140+ # is resolved (or the action's default is bumped), --model here
141+ # can be dropped.
142+ claude_args : ' --model claude-opus-4-7 --allowed-tools "Bash(Rscript:*)" "Bash(R:*)" "Bash(R CMD:*)" "Bash(gh issue:*)"'
141143
142144 # Surface the spawned `claude` CLI's stderr in the Actions log so
143145 # SDK init crashes (e.g. run 26144000481) show a real error
You can’t perform that action at this time.
0 commit comments