You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
How to check all files in a repository containing "centralized" renovatebot configuration? #2893
we have a repository that holds *.json files containing different renovate configurations. Those files are being referred to in other repos using extends, i.e. we have only one line in each repo's renovate.json.
So it would be crucial to not mess up the centralized configuration files. I would like to use pre-commit as one part (and a GitlabCI pipeline later).
How would I supply the list of files to check with the pre-commit hook?
I found the RENOVATE_CONFIG_FILE variable in the docs, but how would I set it in the .pre-commit-config.yaml? Can I use a wildcard (*.json)?
Activity
maxbrunet commentedon Apr 12, 2025
The
fileskey of the hook can simply be overridden in the.pre-commit-config.yamlkastl-ars commentedon Apr 29, 2025
Thanks, I will give this a try.