Przeglądaj źródła

ci: set claude-opus-4-6 model for all Claude Code GitHub Actions

Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>
ding113 2 tygodni temu
rodzic
commit
badf6e25

+ 8 - 2
.github/workflows/claude-ci-autofix.yml

@@ -215,7 +215,10 @@ jobs:
             6. **DO NOT** push if verification fails
             7. **DO NOT** resolve conflicts you don't understand
 
-          claude_args: "--max-turns 999 --allowedTools Read,Write,Edit,Bash(*)"
+          claude_args: |
+            --model claude-opus-4-6
+            --max-turns 999
+            --allowedTools Read,Write,Edit,Bash(*)
           use_commit_signing: false
 
   auto-fix:
@@ -538,5 +541,8 @@ jobs:
             | Bulk auto-fix without review | May introduce bugs | Review each change |
             | Fixing errors you don't understand | May cause regressions | Document and skip |
 
-          claude_args: "--max-turns 999 --allowedTools Read,Write,Edit,Bash(*)"
+          claude_args: |
+            --model claude-opus-4-6
+            --max-turns 999
+            --allowedTools Read,Write,Edit,Bash(*)
           use_commit_signing: false

+ 4 - 1
.github/workflows/claude-issue-auto-response.yml

@@ -363,5 +363,8 @@ jobs:
             | Promising features | Creates false expectations | Only mention what exists in code |
             | Mentioning triggers/commands | Clutters response, not their concern | Focus on answering their question |
 
-          claude_args: "--max-turns 999 --allowedTools Read,Bash(*),Grep,Glob"
+          claude_args: |
+            --model claude-opus-4-6
+            --max-turns 999
+            --allowedTools Read,Bash(*),Grep,Glob
           use_commit_signing: false

+ 4 - 1
.github/workflows/claude-issue-duplicate-check.yml

@@ -211,5 +211,8 @@ jobs:
             | Similar but different use case | NOT a duplicate |
             | Same symptom, different cause | NOT a duplicate |
 
-          claude_args: "--max-turns 999 --allowedTools Bash(*)"
+          claude_args: |
+            --model claude-opus-4-6
+            --max-turns 999
+            --allowedTools Bash(*)
           use_commit_signing: false

+ 4 - 1
.github/workflows/claude-issue-oncall-triage.yml

@@ -139,5 +139,8 @@ jobs:
             - Issues that received "oncall" label (with numbers and brief reasons)
             - Close calls that almost qualified but didn't
 
-          claude_args: "--max-turns 999 --allowedTools Bash(*)"
+          claude_args: |
+            --model claude-opus-4-6
+            --max-turns 999
+            --allowedTools Bash(*)
           use_commit_signing: false

+ 4 - 1
.github/workflows/claude-issue-stale-cleanup.yml

@@ -138,5 +138,8 @@ jobs:
             - Number of issues closed
             - List of affected issue numbers
 
-          claude_args: "--max-turns 999 --allowedTools Bash(*)"
+          claude_args: |
+            --model claude-opus-4-6
+            --max-turns 999
+            --allowedTools Bash(*)
           use_commit_signing: false

+ 4 - 1
.github/workflows/claude-issue-triage.yml

@@ -211,5 +211,8 @@ jobs:
             - Component: `config`
             - Priority: None
 
-          claude_args: "--max-turns 999 --allowedTools Bash(*)"
+          claude_args: |
+            --model claude-opus-4-6
+            --max-turns 999
+            --allowedTools Bash(*)
           use_commit_signing: false

+ 4 - 1
.github/workflows/claude-mention-responder.yml

@@ -233,5 +233,8 @@ jobs:
             - If making code changes, explain what you changed and why
             - If unsure, ask for clarification rather than guessing
 
-          claude_args: "--max-turns 999 --allowedTools Read,Write,Edit,Grep,Glob,Bash(*)"
+          claude_args: |
+            --model claude-opus-4-6
+            --max-turns 999
+            --allowedTools Read,Write,Edit,Grep,Glob,Bash(*)
           use_commit_signing: false

+ 4 - 1
.github/workflows/claude-pr-description.yml

@@ -361,5 +361,8 @@ jobs:
             | Missing obvious Issue links | Loses traceability | Search thoroughly before writing |
             | Over-long descriptions | Wastes reviewer time | Be concise and structured |
 
-          claude_args: "--max-turns 999 --allowedTools Read,Bash(*),Grep,Glob"
+          claude_args: |
+            --model claude-opus-4-6
+            --max-turns 999
+            --allowedTools Read,Bash(*),Grep,Glob
           use_commit_signing: false

+ 4 - 1
.github/workflows/claude-pr-label.yml

@@ -166,5 +166,8 @@ jobs:
             6. **DO** verify labels exist before trying to apply them
             7. **DO** prefer specific labels over generic ones
 
-          claude_args: "--max-turns 999 --allowedTools Bash(*)"
+          claude_args: |
+            --model claude-opus-4-6
+            --max-turns 999
+            --allowedTools Bash(*)
           use_commit_signing: false

+ 4 - 1
.github/workflows/claude-pr-review.yml

@@ -510,5 +510,8 @@ jobs:
 
             **Remember**: You are a CRITICAL REVIEWER. Your job is to find REAL problems, not to validate. Be thorough, be precise, be helpful. Filter aggressively to avoid false positives.
 
-          claude_args: "--max-turns 999 --allowedTools Read,Grep,Glob,Bash(*)"
+          claude_args: |
+            --model claude-opus-4-6
+            --max-turns 999
+            --allowedTools Read,Grep,Glob,Bash(*)
           use_commit_signing: false

+ 4 - 1
.github/workflows/claude-review-responder.yml

@@ -300,5 +300,8 @@ jobs:
             | Changing unrelated code | Scope creep, new bugs | Only touch what was mentioned |
             | Defensive responses | Damages collaboration | Thank reviewer, address concern |
 
-          claude_args: "--max-turns 999 --allowedTools Read,Write,Edit,Grep,Glob,Bash(*)"
+          claude_args: |
+            --model claude-opus-4-6
+            --max-turns 999
+            --allowedTools Read,Write,Edit,Grep,Glob,Bash(*)
           use_commit_signing: false

+ 4 - 1
.github/workflows/claude-unified-docs.yml

@@ -199,5 +199,8 @@ jobs:
             - 确保所有文件更新后再提交
             - 如果某个步骤失败,继续执行其他步骤
 
-          claude_args: "--max-turns 999 --allowedTools Read,Write,Edit,Bash(*)"
+          claude_args: |
+            --model claude-opus-4-6
+            --max-turns 999
+            --allowedTools Read,Write,Edit,Bash(*)
           use_commit_signing: false