-
-
Notifications
You must be signed in to change notification settings - Fork 902
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Renovate / Add support for renovate.config.js #2445
Conversation
This also adds support for |
Nope. How can I prevent it ? |
Both need to be added in |
But it conflicts with https://docs.renovatebot.com/configuration-options/. |
Yes sure. A .JS file is used by their official Github Action : https://github.com/vidavidorra/github-action-renovate (strange it is not yet under their renovate org, but anyway they sent me here in this comment : renovatebot/renovate#5881 (comment)) |
As the preferred way for using Renovate with their official Github Action is to use a `.js` file instead of a `json`, we should add `renovate.js` and `renovate.config.js`.
Updated the commit with your suggestions |
I ended up digging into But they also use several other Now if you follow the code you will end up in the file config parser -> https://github.com/renovatebot/renovate/blob/master/lib/config/file.ts which in this line https://github.com/renovatebot/renovate/blob/master/lib/config/file.ts#L15 they use This is how they do it which is unconventional if you ask me. Bottom line, either ask them to officially support |
Allright :). Thanks for your complete anwser. I'll close this. |
Furthermore, the |
Reading the |
This https://github.com/renovatebot/github-action/blob/master/src/entrypoint.sh#L21 should definitely be changed to support the official config filenames. |
Hey, yes I totally agree with you. nvm, I'll reopen a PR here if things change on their side :) |
As the preferred way for using Renovate with their official Github Action is to use a
.js
file instead of ajson
, we should addrenovate.js
andrenovate.config.js
.Changes proposed: