Skip to content

Commit 3b79ee7

Browse files
committed
docs(examples): map scheduled batch issues to github_item_number for correct P0 telemetry
1 parent 9bc71a5 commit 3b79ee7

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

examples/workflows/issue-triage/gemini-scheduled-triage.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,9 @@ jobs:
8282
echo '📝 Setting output for GitHub Actions...'
8383
echo "issues_to_triage=${ISSUES}" >> "${GITHUB_OUTPUT}"
8484
85+
ISSUE_NUMBERS="$(echo "${ISSUES}" | jq -r '.[].number | tostring' | paste -sd, -)"
86+
echo "issue_numbers=${ISSUE_NUMBERS}" >> "${GITHUB_OUTPUT}"
87+
8588
ISSUE_COUNT="$(echo "${ISSUES}" | jq 'length')"
8689
echo "✅ Found ${ISSUE_COUNT} issue(s) to triage! 🎯"
8790
@@ -109,6 +112,7 @@ jobs:
109112
use_vertex_ai: '${{ vars.GOOGLE_GENAI_USE_VERTEXAI }}'
110113
upload_artifacts: '${{ vars.UPLOAD_ARTIFACTS }}'
111114
workflow_name: 'gemini-scheduled-triage'
115+
github_item_number: '${{ steps.find_issues.outputs.issue_numbers }}'
112116
settings: |-
113117
{
114118
"model": {

0 commit comments

Comments
 (0)