Renovate-config-validator cannot validate config.js if hostRules token is read from environment variable #29204
Replies: 1 comment 3 replies
-
I don't think this is true. I just replicated your hostRules and substituted for a valid env variable and it validated successfully. When I put in an env variable which didn't exist, then I got the same error as you. I think this is related to your environment somehow |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
What would you like help with?
I think I found a bug
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.
Github
Please tell us more about your question or problem
Renovate-config-validator cannot validate config.js if hostRules token is read from environment variable.
My config.js looks something like this:
When I run
renovate-config-validator
i get the following error:This means that for use cases such as pre-commit-hooks it is broken.
Lastly big thank you for a great project, that get so much joy from!
Logs (if relevant)
Logs
Beta Was this translation helpful? Give feedback.
All reactions