Skip to content

ci: pin @claude action to claude-opus-4-8#73

Merged
TheP2P (thep2p) merged 1 commit into
mainfrom
fix/claude-action-model
Jun 18, 2026
Merged

ci: pin @claude action to claude-opus-4-8#73
TheP2P (thep2p) merged 1 commit into
mainfrom
fix/claude-action-model

Conversation

@thep2p

Copy link
Copy Markdown
Collaborator

Problem

The @claude GitHub Action job is failing with:

API Error: 404 {"type":"error","error":{"type":"not_found_error","message":"model: claude-sonnet-4-20250514"}}

The workflow doesn't set a model, so it falls back to the action's built-in default (claude-sonnet-4-20250514), which has been retired and now returns 404 not_found_error.

Why it must land on main

issue_comment-triggered workflows always execute the workflow file from the default branch, not the PR branch. A fix on a feature branch never takes effect for the @claude trigger — so this dedicated PR targets main.

Fix

Pin an explicit, current model:

model: "claude-opus-4-8"

🤖 Generated with Claude Code

The action's built-in default model (claude-sonnet-4-20250514) has been
retired and now returns a 404 not_found_error, failing the @claude job.
issue_comment-triggered workflows run the YAML from the default branch,
so this fix must live on main to take effect.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@thep2p TheP2P (thep2p) merged commit 73346a7 into main Jun 18, 2026
3 checks passed
@thep2p TheP2P (thep2p) deleted the fix/claude-action-model branch June 18, 2026 17:50
TheP2P (thep2p) added a commit that referenced this pull request Jul 12, 2026
Co-authored-by: yahya <19204398+yhassanzadeh13@users.noreply.github.com>
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
TheP2P (thep2p) added a commit that referenced this pull request Jul 13, 2026
Co-authored-by: yahya <19204398+yhassanzadeh13@users.noreply.github.com>
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants