Is there a way to read/write the renovate config programmatically? #30921
Unanswered
mmkal
asked this question in
Request Help
Replies: 0 comments
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 would like help with my configuration
How are you running Renovate?
Mend Renovate hosted app on github.com
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
I am working on a GitHub action which helps set up a renovate config that follows a certain recipe.
It's a GitHub Action, and I'd like to make it as hands-off as possible, so I'm hoping to actually open a pull request proposing a change to (or addition of) the user's renovate config directly. But, there are many different renovate config formats, so I'm wondering if there's a helper exposed as part of the
renovate
npm package. Something like this would be great:It wouldn't be too hard to use the
json5
module to do this manually, but it seems like the sort of problem that must have already been solved internally - if it could just be exposed via the package it'd be useful.Logs (if relevant)
N/A
Beta Was this translation helpful? Give feedback.
All reactions