From 1c8f93fe541ed15e64d0a56ac62b8459bf8aabda Mon Sep 17 00:00:00 2001 From: Michael Kriese Date: Wed, 3 May 2023 15:47:51 +0200 Subject: [PATCH] feat: pass http proxy env to container (#731) --- action.yml | 2 +- src/input.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/action.yml b/action.yml index 1c044afe2de..d08318a2ec4 100644 --- a/action.yml +++ b/action.yml @@ -24,7 +24,7 @@ inputs: env-regex: description: | Override the environment variables which will be passsed into the renovate container. - Defaults to `^(?:RENOVATE_\\w+|LOG_LEVEL|GITHUB_COM_TOKEN|NODE_OPTIONS)$` + Defaults to `^(?:RENOVATE_\\w+|LOG_LEVEL|GITHUB_COM_TOKEN|NODE_OPTIONS|(?:HTTPS?|NO)_PROXY|(?:https?|no)_proxy)$` required: false renovate-version: description: | diff --git a/src/input.ts b/src/input.ts index 9ae45f693eb..54ffc904dcd 100644 --- a/src/input.ts +++ b/src/input.ts @@ -8,7 +8,7 @@ interface EnvironmentVariable { class Input { readonly options = { - envRegex: /^(?:RENOVATE_\w+|LOG_LEVEL|GITHUB_COM_TOKEN|NODE_OPTIONS)$/, + envRegex: /^(?:RENOVATE_\w+|LOG_LEVEL|GITHUB_COM_TOKEN|NODE_OPTIONS|(?:HTTPS?|NO)_PROXY|(?:https?|no)_proxy)$/, configurationFile: { input: 'configurationFile', env: 'RENOVATE_CONFIG_FILE',