File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -444,6 +444,7 @@ runs:
444444 sed -e "s#OTLP_GOOGLE_CLOUD_PROJECT#${OTLP_GOOGLE_CLOUD_PROJECT}#g" \
445445 -e "s#GITHUB_REPOSITORY_PLACEHOLDER#${GITHUB_REPOSITORY}#g" \
446446 -e "s#GITHUB_RUN_ID_PLACEHOLDER#${GITHUB_RUN_ID}#g" \
447+ -e "s#GITHUB_EVENT_NUMBER_PLACEHOLDER#${GITHUB_EVENT_NUMBER}#g" \
447448 "${GITHUB_ACTION_PATH}/scripts/collector-gcp.yaml.template" > ".gemini/collector-gcp.yaml"
448449
449450 # Ensure credentials file has the right permissions
@@ -494,6 +495,7 @@ runs:
494495 GITHUB_ACTION_PATH : ' ${{ github.action_path }}'
495496 GITHUB_REPOSITORY : ' ${{ github.repository }}'
496497 GITHUB_RUN_ID : ' ${{ github.run_id }}'
498+ GITHUB_EVENT_NUMBER : ' ${{ github.event.issue.number || github.event.pull_request.number }}'
497499
498500branding :
499501 icon : ' terminal'
Original file line number Diff line number Diff line change @@ -12,6 +12,9 @@ processors:
1212 - key: 'github.run_id'
1313 value: 'GITHUB_RUN_ID_PLACEHOLDER'
1414 action: 'upsert'
15+ - key: 'github.event.number'
16+ value: 'GITHUB_EVENT_NUMBER_PLACEHOLDER'
17+ action: 'upsert'
1518 batch:
1619 send_batch_size: 100
1720 timeout: '10s'
You can’t perform that action at this time.
0 commit comments