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'));