Skip to content

Commit 9da5533

Browse files
feat(telemetry): Specify gemini-SURFACE (#156)
Fixes #155
1 parent c6293c3 commit 9da5533

File tree

8 files changed

+8
-0
lines changed

8 files changed

+8
-0
lines changed

.github/workflows/gemini-cli.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -195,6 +195,7 @@ jobs:
195195
USER_REQUEST: '${{ steps.get_context.outputs.user_request }}'
196196
ISSUE_NUMBER: '${{ steps.get_context.outputs.issue_number }}'
197197
IS_PR: '${{ steps.get_context.outputs.is_pr }}'
198+
SURFACE: 'GITHUB_ACTION'
198199
with:
199200
gemini_api_key: '${{ secrets.GEMINI_API_KEY }}'
200201
gcp_workload_identity_provider: '${{ vars.GCP_WIF_PROVIDER }}'

.github/workflows/gemini-issue-automated-triage.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ jobs:
6464
ISSUE_BODY: '${{ github.event.issue.body }}'
6565
ISSUE_NUMBER: '${{ github.event.issue.number }}'
6666
REPOSITORY: '${{ github.repository }}'
67+
SURFACE: 'GITHUB_ACTION'
6768
with:
6869
gemini_cli_version: '${{ vars.GEMINI_CLI_VERSION }}'
6970
gcp_workload_identity_provider: '${{ vars.GCP_WIF_PROVIDER }}'

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@ jobs:
7272
GITHUB_TOKEN: '${{ steps.generate_token.outputs.token || secrets.GITHUB_TOKEN }}'
7373
ISSUES_TO_TRIAGE: '${{ steps.find_issues.outputs.issues_to_triage }}'
7474
REPOSITORY: '${{ github.repository }}'
75+
SURFACE: 'GITHUB_ACTION'
7576
with:
7677
gemini_cli_version: '${{ vars.GEMINI_CLI_VERSION }}'
7778
gcp_workload_identity_provider: '${{ vars.GCP_WIF_PROVIDER }}'

.github/workflows/gemini-pr-review.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,7 @@ jobs:
150150
CHANGED_FILES: '${{ steps.get_pr.outputs.changed_files || steps.get_pr_comment.outputs.changed_files }}'
151151
ADDITIONAL_INSTRUCTIONS: '${{ steps.get_pr.outputs.additional_instructions || steps.get_pr_comment.outputs.additional_instructions }}'
152152
REPOSITORY: '${{ github.repository }}'
153+
SURFACE: 'GITHUB_ACTION'
153154
with:
154155
gemini_cli_version: '${{ vars.GEMINI_CLI_VERSION }}'
155156
gcp_workload_identity_provider: '${{ vars.GCP_WIF_PROVIDER }}'

examples/workflows/gemini-cli/gemini-cli.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -195,6 +195,7 @@ jobs:
195195
USER_REQUEST: '${{ steps.get_context.outputs.user_request }}'
196196
ISSUE_NUMBER: '${{ steps.get_context.outputs.issue_number }}'
197197
IS_PR: '${{ steps.get_context.outputs.is_pr }}'
198+
SURFACE: 'GITHUB_ACTION'
198199
with:
199200
gemini_api_key: '${{ secrets.GEMINI_API_KEY }}'
200201
gcp_workload_identity_provider: '${{ vars.GCP_WIF_PROVIDER }}'

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ jobs:
6464
ISSUE_BODY: '${{ github.event.issue.body }}'
6565
ISSUE_NUMBER: '${{ github.event.issue.number }}'
6666
REPOSITORY: '${{ github.repository }}'
67+
SURFACE: 'GITHUB_ACTION'
6768
with:
6869
gemini_cli_version: '${{ vars.GEMINI_CLI_VERSION }}'
6970
gcp_workload_identity_provider: '${{ vars.GCP_WIF_PROVIDER }}'

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@ jobs:
7272
GITHUB_TOKEN: '${{ steps.generate_token.outputs.token || secrets.GITHUB_TOKEN }}'
7373
ISSUES_TO_TRIAGE: '${{ steps.find_issues.outputs.issues_to_triage }}'
7474
REPOSITORY: '${{ github.repository }}'
75+
SURFACE: 'GITHUB_ACTION'
7576
with:
7677
gemini_cli_version: '${{ vars.GEMINI_CLI_VERSION }}'
7778
gcp_workload_identity_provider: '${{ vars.GCP_WIF_PROVIDER }}'

examples/workflows/pr-review/gemini-pr-review.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,7 @@ jobs:
150150
CHANGED_FILES: '${{ steps.get_pr.outputs.changed_files || steps.get_pr_comment.outputs.changed_files }}'
151151
ADDITIONAL_INSTRUCTIONS: '${{ steps.get_pr.outputs.additional_instructions || steps.get_pr_comment.outputs.additional_instructions }}'
152152
REPOSITORY: '${{ github.repository }}'
153+
SURFACE: 'GITHUB_ACTION'
153154
with:
154155
gemini_cli_version: '${{ vars.GEMINI_CLI_VERSION }}'
155156
gcp_workload_identity_provider: '${{ vars.GCP_WIF_PROVIDER }}'

0 commit comments

Comments
 (0)