Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 10 additions & 3 deletions .github/workflows/claude.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,14 +36,21 @@ jobs:
node-version-file: front_end/.nvmrc
cache: "npm"
cache-dependency-path: front_end/package-lock.json
- name: "Install node_modules and build the frontend"
- name: Cache node_modules
id: cache-node-modules
uses: actions/cache@v4
with:
path: front_end/node_modules
key: node-modules-${{ runner.os }}-${{ hashFiles('front_end/package-lock.json') }}
- name: "Install node_modules"
if: steps.cache-node-modules.outputs.cache-hit != 'true'
run: cd front_end && npm ci
- name: Run Claude Code
id: claude
uses: anthropics/claude-code-action@v1
with:
claude_code_oauth_token: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }}

branch_name_template: '{{prefix}}{{entityType}}-{{entityNumber}}-{{description}}'
# This is an optional setting that allows Claude to read CI results on PRs
additional_permissions: |
actions: read
Expand All @@ -54,4 +61,4 @@ jobs:
# Optional: Add claude_args to customize behavior and configuration
# See https://github.com/anthropics/claude-code-action/blob/main/docs/usage.md
# or https://docs.claude.com/en/docs/claude-code/cli-reference for available options
claude_args: "--allowed-tools Bash(npm run)"
claude_args: '--model claude-opus-4-6'
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟡 Minor

🧩 Analysis chain

🌐 Web query:

Anthropic Claude models list 2025 2026 Opus 4.5 4.6

💡 Result:

Anthropic Claude model list (2025–2026), incl. Opus 4.5 / 4.6

Opus (frontier tier)

  • Claude Opus 4 — released May 22, 2025 (listed in Anthropic system cards). [3]
  • Claude Opus 4.1Aug 5, 2025. [3]
  • Claude Opus 4.5Nov 24, 2025. [2]
  • Claude Opus 4.6Feb 5, 2026 (API model ID: claude-opus-4-6). [2][1]

Sonnet (balanced tier)

  • Claude Sonnet 4May 2025 (paired with Opus 4 in system cards). [3]
  • Claude Sonnet 4.5Sep 2025 (example API snapshot shown by Anthropic: claude-sonnet-4-5-20250929, alias claude-sonnet-4-5). [3][1]

Haiku (fast tier)

  • Claude Haiku 4.5Oct 2025 (example API snapshot: claude-haiku-4-5-20251001, alias claude-haiku-4-5). [3][1]

Clarify the discrepancy between PR scope and implementation.

The model identifier claude-opus-4-6 is valid (released Feb 5, 2026), so it will not cause invocations to fail. However, the PR title references "Opus 4.5" while the code specifies Opus 4.6. Confirm whether this is intentional or if the PR title should be updated to match the implementation.

🤖 Prompt for AI Agents
In @.github/workflows/claude.yml at line 64, The PR title and workflow disagree:
the workflow sets claude_args to 'claude-opus-4-6' but the PR text mentions
"Opus 4.5"; decide which is correct and make them consistent—either update the
PR title/description to reference Opus 4.6, or change the workflow's claude_args
value to 'claude-opus-4-5' (or another intended model); ensure you reference and
update the claude_args entry so the implementation and PR scope match.

Loading