From 86c30801679a0524c0cf946cb627478500aa1eac Mon Sep 17 00:00:00 2001 From: Jake Bailey <5341706+jakebailey@users.noreply.github.com> Date: Thu, 5 Nov 2026 16:38:47 -0800 Subject: [PATCH] Enable Node proxy support for GitHub App token steps Release jobs run under 1ES network isolation, which sets HTTPS_PROXY. The token tool uses Node's fetch, which ignores proxy variables unless NODE_USE_ENV_PROXY=1 is set, so the tool refuses to run and the GitHub Release step is skipped. --- build/azure-pipelines/steps/create-github-app-token.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/build/azure-pipelines/steps/create-github-app-token.yml b/build/azure-pipelines/steps/create-github-app-token.yml index 1f374fd..8b5d4ff 100644 --- a/build/azure-pipelines/steps/create-github-app-token.yml +++ b/build/azure-pipelines/steps/create-github-app-token.yml @@ -606,6 +606,7 @@ steps: PERMISSIONS: ${{ parameters.permissions }} OUTPUT: azure-pipelines AZURE_TOKEN_VARIABLE: ${{ parameters.tokenVariable }} + NODE_USE_ENV_PROXY: "1" - ${{ each step in parameters.insertSteps }}: - ${{ step }} @@ -620,3 +621,4 @@ steps: script: node "$(Agent.TempDirectory)/create-github-app-token.cjs" env: REVOKE_TOKEN: $(${{ parameters.tokenVariable }}) + NODE_USE_ENV_PROXY: "1"