From a6af5fe5df862eff2084b7052874ac79a8e2b00e Mon Sep 17 00:00:00 2001 From: Seth Vargo Date: Wed, 1 May 2024 11:32:44 -0700 Subject: [PATCH] Disable prompts --- src/main.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main.ts b/src/main.ts index b7f562bff..ae1b35a00 100644 --- a/src/main.ts +++ b/src/main.ts @@ -45,6 +45,8 @@ export async function run(): Promise { core.exportVariable('CLOUDSDK_METRICS_ENVIRONMENT', 'github-actions-setup-gcloud'); core.exportVariable('CLOUDSDK_METRICS_ENVIRONMENT_VERSION', appVersion); + process.env.CLOUDSDK_CORE_DISABLE_PROMPTS = '1'; + // Warn if pinned to HEAD if (isPinnedToHead()) { core.warning(pinnedToHeadWarning('v2'));