PostUpgradeTask does not have environment variables #28909
Answered
by
rarkins
uluzox
asked this question in
Request Help
-
What would you like help with?I would like help with my configuration How are you running Renovate?Self-hosted If you're self-hosting Renovate, tell us which platform (GitHub, GitLab, etc) and which version of Renovate.GitLab Please tell us more about your question or problemHi, "postUpgradeTasks": {
"commands": [
"env",
"./.husky/pre-commit || true"
],
"fileFilters": [
"*/**"
],
"executionMode": "branch"
} How can I make the environment variables of the runner available to the post upgrade task? Logs (if relevant)Logs
|
Beta Was this translation helpful? Give feedback.
Answered by
rarkins
May 7, 2024
Replies: 1 comment 1 reply
-
Renovate does not pass through all env to child processes by default. Look at exposeAllEnv or customEnvVariablea |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
uluzox
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Renovate does not pass through all env to child processes by default. Look at exposeAllEnv or customEnvVariablea