Skip to content

Commit 7a4766b

Browse files
authored
Set user-agent too (#512)
1 parent 7e9f2f2 commit 7a4766b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/main.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,7 @@ export async function run(): Promise<void> {
8383
process.env.CLOUDSDK_CORE_DISABLE_PROMPTS = '1';
8484
process.env.CLOUDSDK_METRICS_ENVIRONMENT = 'github-actions-deploy-cloudrun';
8585
process.env.CLOUDSDK_METRICS_ENVIRONMENT_VERSION = appVersion;
86+
process.env.GOOGLE_APIS_USER_AGENT = `google-github-actions:deploy-cloudrun/${appVersion}`;
8687

8788
// Warn if pinned to HEAD
8889
if (isPinnedToHead()) {

0 commit comments

Comments
 (0)