File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 6666 use_vertex_ai : ' ${{ vars.GOOGLE_GENAI_USE_VERTEXAI }}'
6767 upload_artifacts : ' ${{ vars.UPLOAD_ARTIFACTS }}'
6868 workflow_name : ' gemini-invoke'
69+ # Assistant workflows can be triggered by comments on either Issues or PRs.
70+ # We explicitly map both fields so the CLI can correctly categorize the interaction.
6971 github_pr_number : ' ${{ github.event.pull_request.number }}'
7072 github_issue_number : ' ${{ github.event.issue.number }}'
7173 settings : |-
Original file line number Diff line number Diff line change 6868 use_vertex_ai : ' ${{ vars.GOOGLE_GENAI_USE_VERTEXAI }}'
6969 upload_artifacts : ' ${{ vars.UPLOAD_ARTIFACTS }}'
7070 workflow_name : ' gemini-plan-execute'
71+ # Assistant workflows can be triggered by comments on either Issues or PRs.
72+ # We explicitly map both fields so the CLI can correctly categorize the interaction.
7173 github_pr_number : ' ${{ github.event.pull_request.number }}'
7274 github_issue_number : ' ${{ github.event.issue.number }}'
7375 settings : |-
Original file line number Diff line number Diff line change @@ -112,6 +112,8 @@ jobs:
112112 use_vertex_ai : ' ${{ vars.GOOGLE_GENAI_USE_VERTEXAI }}'
113113 upload_artifacts : ' ${{ vars.UPLOAD_ARTIFACTS }}'
114114 workflow_name : ' gemini-scheduled-triage'
115+ # Overriding default telemetry inputs because scheduled workflows lack an event payload
116+ # We pass the dynamically generated list of batch issues to the custom tracking ID field
115117 github_custom_tracking_id : ' ${{ steps.find_issues.outputs.issue_numbers }}'
116118 settings : |-
117119 {
Original file line number Diff line number Diff line change 7979 use_vertex_ai : ' ${{ vars.GOOGLE_GENAI_USE_VERTEXAI }}'
8080 upload_artifacts : ' ${{ vars.UPLOAD_ARTIFACTS }}'
8181 workflow_name : ' gemini-triage'
82+ # Explicitly set the issue number to handle `issue_comment` triggers where the context might be ambiguous
8283 github_issue_number : ' ${{ github.event.issue.number }}'
8384 settings : |-
8485 {
Original file line number Diff line number Diff line change 6565 use_vertex_ai : ' ${{ vars.GOOGLE_GENAI_USE_VERTEXAI }}'
6666 upload_artifacts : ' ${{ vars.UPLOAD_ARTIFACTS }}'
6767 workflow_name : ' gemini-review'
68+ # Explicitly set the PR number to handle `issue_comment` triggers (which GitHub treats as issues, not PRs)
6869 github_pr_number : ' ${{ github.event.pull_request.number }}'
6970 settings : |-
7071 {
You can’t perform that action at this time.
0 commit comments