Configuration option repositories should be a list (Array)
while using RENOVATE_REPOSITORIES
#31887
Replies: 2 comments
-
Hi there, A maintainer decided this is not a bug, and behaving as designed. The maintainer will explain why this behavior is correct. To avoid confusing future readers, we will close this Discussion. We want Bug-type Discussions to be about things that we rate as bugs. For more details, please read our development docs about bug handling. If this bug report makes you think of an idea for a new feature, or how to improve a current feature, feel free to create a new Suggest an Idea Discussion. Thanks, the Renovate team |
Beta Was this translation helpful? Give feedback.
-
It should be a comma separated list, not JSON. |
Beta Was this translation helpful? Give feedback.
-
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.
Azure DevOps Service, npm, 38.106.3
Please tell us more about your question or problem
We are trying to pass repositories to a YAML template and we transform a YAML object list into a valid json array which is then set to
RENOVATE_REPOSITORIES
while the Renovate config. is set to use it.Result is a warning which state the array is empty but debug & printed config shows the contrary, in consequences it seems Renovate ignore the whole config. and go default behavior.
Config. in question:
RENOVATE_REPOSITORIES
being set like:Logs (if relevant)
Logs
Edit / answer as I got locked @rarkins
Not sure to get
It should be a comma separated list, not JSON
as["AProject/Project1", "AProject/Project2", "AProject/Project3"]
is a comma separated list!And it follow the documentation sample: https://docs.renovatebot.com/modules/platform/codecommit/#renovate-docker-buildspecyml
According to most JSON linter, this is a valid JSON input:
["AProject/Project1", "AProject/Project2", "AProject/Project3"]
as spec. stateAn array is an ordered collection of values. An array begins with [left bracket and ends with ]right bracket. Values are separated by ,comma. [..] A value can be a string in double quotes, or a number, or true or false or null, or an object or an array. These structures can be nested.
Beta Was this translation helpful? Give feedback.
All reactions