Skip to content
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

Automatically update release version for pre-commit hooks config with Renovate #12

Open
linakrisztian opened this issue Aug 31, 2023 · 2 comments

Comments

@linakrisztian
Copy link
Contributor

For the config of the pre-commit hooks the latest version of the github-workflows should be used.

This should be doable with Renovate, but has to be configured: Renovate currently has the ability to update .pre-commit-config.yaml if the behaviour is opted into (from renovatebot/renovate#20780)

See also: https://github.com/adam-moss/renovate-20780/blob/main/renovate.yaml#L33-L43

@mmacata mmacata self-assigned this Sep 3, 2023
@mmacata
Copy link
Member

mmacata commented Sep 3, 2023

It works! Tested with https://github.com/mundialis/v.example where after the change, renovate suggested a version update for this pre-commit hook.
How-to added to README

@mmacata mmacata closed this as completed Sep 3, 2023
@mmacata
Copy link
Member

mmacata commented Sep 3, 2023

(Now this can be used for all repositories using this while this one is left out 😬 )

@mmacata mmacata reopened this Sep 3, 2023
@mmacata mmacata removed their assignment Sep 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants