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

Enable autoupdate of the pre-commit configuration #231

Merged
merged 1 commit into from
Mar 27, 2024

Conversation

lenvm
Copy link
Collaborator

@lenvm lenvm commented Mar 24, 2024

What

This pull request enables autoupdate of the pre-commit configuration file, ensuring that the hook versions are kept up to date. The autoupdate is run on a monthly basis.

How

It does this by means of pre-commit.ci. More information about this CI is found on pre-commit.ci. Dependabot is currently not supporting to autoupdate the pre-commit-config.yaml file, as described in this GitHub Issue. As pre-commit.ci does offer the autoupdate functionality, pre-commit.ci is used rather than Dependabot.

Why

Automatically updating the dependencies of the pre-commit file on a regular basis will ensure pre-commit uses the latest releases of dependencies, which may include new functionalities or bug fixes for issues.

@smaresca
Copy link
Collaborator

That's a helpful improvement even as a one-liner - looks good to me.

@dalathegreat
Copy link
Owner

Approved, thanks @lenvm 🙌

@dalathegreat dalathegreat merged commit b8628f4 into dalathegreat:main Mar 27, 2024
21 checks passed
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

Successfully merging this pull request may close these issues.

3 participants