Skip to content

Commit 9aa8b4f

Browse files
ci: simplify PR label checks and update Claude model version in evals config
1 parent a9394cc commit 9aa8b4f

2 files changed

Lines changed: 17 additions & 3 deletions

File tree

cloudbuild.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,8 @@ steps:
4545
PR_TITLE=$(echo "$$PR_DATA" | jq -r '.title')
4646
4747
# Check if execution labels are present using exact matching via jq
48-
if ! jq -e '.labels | any(.name == "autorelease: pending" or .name == "ci:run-evals" or .name == "ci:run-evals-gemini" or .name == "ci:run-evals-claude")' pr_data.json > /dev/null; then
49-
echo "PR does not have required labels. Skipping execution."
48+
if ! jq -e '.labels | any(.name == "autorelease: pending" or .name == "ci:run-evals")' pr_data.json > /dev/null; then
49+
echo "PR does not have 'autorelease: pending' or 'ci:run-evals' label. Skipping execution."
5050
exit 0
5151
fi
5252
echo "Execution label detected. Processing release version context..."

evals/claude_code_model.yaml

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,20 @@
1+
# Copyright 2025 Google LLC
2+
#
3+
# Licensed under the Apache License, Version 2.0 (the "License");
4+
# you may not use this file except in compliance with the License.
5+
# You may obtain a copy of the License at
6+
#
7+
# http://www.apache.org/licenses/LICENSE-2.0
8+
#
9+
# Unless required by applicable law or agreed to in writing, software
10+
# distributed under the License is distributed on an "AS IS" BASIS,
11+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
# See the License for the specific language governing permissions and
13+
# limitations under the License.
14+
115
claude_code_version: "@anthropic-ai/claude-code@2.1.85"
216
generator: claude_code
3-
model: "claude-opus-4-6" # Use "claude-opus-4-20250514" for direct API
17+
model: "claude-opus-4-1@20250805" # Suggested by Vertex deployment error
418

519
use_vertex: true
620
vertex_project_id: "${GOOGLE_CLOUD_PROJECT}"

0 commit comments

Comments
 (0)