Skip to content

Commit 8a3c697

Browse files
ondrejmirtesclaude
andcommitted
Read Claude model from CLAUDE_MODEL repository variable
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Ev8NeVB2tC9Go7ns6oAGUL
1 parent 557752e commit 8a3c697

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

‎.github/workflows/claude-pr-review.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -360,7 +360,7 @@ jobs:
360360
git config user.name "phpstan-bot"
361361
git config user.email "ondrej+phpstanbot@mirtes.cz"
362362
363-
claude --model claude-opus-4-8 \
363+
claude --model "${{ vars.CLAUDE_MODEL }}" \
364364
--dangerously-skip-permissions \
365365
--output-format text \
366366
-p "$PROMPT" \

‎.github/workflows/claude-update-error-docs.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ jobs:
5151
git config user.name "phpstan-bot"
5252
git config user.email "ondrej+phpstanbot@mirtes.cz"
5353
54-
claude --model claude-opus-4-8 \
54+
claude --model "${{ vars.CLAUDE_MODEL }}" \
5555
--dangerously-skip-permissions \
5656
-p "$(cat << 'PROMPT_EOF'
5757
You are generating documentation pages for PHPStan error identifiers. PHPStan is a PHP static analysis tool that finds bugs in code without running it. Each error identifier (like `argument.type`, `deadCode.unreachable`, `property.notFound`) categorizes a specific type of error.

0 commit comments

Comments
 (0)