Conversation
eb38cb7 to
ec07ace
Compare
You can store your Renovate configuration file in one of these locations:
1. `renovate.json`
1. `renovate.json5`
1. `.github/renovate.json`
1. `.github/renovate.json5`
1. `.gitlab/renovate.json`
1. `.gitlab/renovate.json5`
1. `.renovaterc`
1. `.renovaterc.json`
1. `.renovaterc.json5`
1. `package.json` _(within a `"renovate"` section)_
Or in a custom file present within the [`configFileNames`](./self-hosted-configuration.md#configfilenames).
The bot first checks all the files in the `configFileNames` array before checking from the above file list.
|
ec07ace to
93ff2e2
Compare
|
are we sure tjie platform config files are already fully implemented? I remember the we maybe didn't pass the platform parameters yet 🤔 |
|
@RahulGautamSingh would you be able to double check, please? 🙏 |
RahulGautamSingh
left a comment
There was a problem hiding this comment.
We need to pass platform here: https://github.com/renovatebot/renovate/blob/main/lib/workers/repository/init/merge.ts#L49
tools/docs/config.ts
Outdated
| for (const [id] of platforms) { | ||
| filenames.push(...getConfigFileNames(id)); | ||
| } |
There was a problem hiding this comment.
we should exclude it for now, as we don't use the argument yet
93ff2e2 to
1f16a79
Compare
|
OK, so this change was off the back of #40608 but maybe I've misunderstood as I thought that #40065 was actually being used, but it looks like it's not until #10682 #10651 ? Right now, we can merge this in, and the output will be effectively what we've got (but less likely to go out of date) However, until #10682 #10651 the changes in this PR will slightly be useful, but not super helpful |
As noted in #40608, we're currently showing an outdated list of possible configuration filenames. We can instead automate this by using the known configuration files we know. As we don't yet support the Platform-specific filenames, we shouldn't include them, but add a TODO so we don't miss it.
1f16a79 to
ef1583f
Compare
Changes
As noted in #40608, we're currently showing an outdated list of possible
configuration filenames.
We can instead automate this by using the known configuration files we
know, and all platform-specific filenames.
We should also be more explicit that the Platform-specific filenames are
only followed when running on that Platform.
Context
Please select one of the below:
AI assistance disclosure
Did you use AI tools to create any part of this pull request?
Please select one option and, if yes, briefly describe how AI was used (e.g., code, tests, docs) and which tool(s) you used.
Documentation (please check one with an [x])
How I've tested my work (please select one)
I have verified these changes via:
The public repository: