From 130ad00cc61aab152cceea3e941f7dadc2e88dd7 Mon Sep 17 00:00:00 2001 From: Google Admin Date: Tue, 17 Feb 2026 21:37:39 -0500 Subject: [PATCH] Refactor Github Action per b/485167538 (#19334) Co-authored-by: Ben Knutson --- .github/workflows/gemini-automated-issue-triage.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/gemini-automated-issue-triage.yml b/.github/workflows/gemini-automated-issue-triage.yml index 6672157343..00dd2bd5b7 100644 --- a/.github/workflows/gemini-automated-issue-triage.yml +++ b/.github/workflows/gemini-automated-issue-triage.yml @@ -71,8 +71,10 @@ jobs: if: |- github.event_name == 'workflow_dispatch' && !contains(steps.get_issue_data.outputs.labels, 'status/need-triage') run: | - echo "Issue #${{ github.event.inputs.issue_number }} does not have the 'status/need-triage' label. Stopping workflow." + echo "Issue #${GITHUB_EVENT_INPUTS_ISSUE_NUMBER} does not have the 'status/need-triage' label. Stopping workflow." exit 1 + env: + GITHUB_EVENT_INPUTS_ISSUE_NUMBER: ${{ github.event.inputs.issue_number }} - name: 'Checkout' uses: 'actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8' # ratchet:actions/checkout@v5