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

Pre commit action #27

Merged
merged 3 commits into from
Nov 5, 2024
Merged

Pre commit action #27

merged 3 commits into from
Nov 5, 2024

Conversation

jacoterh
Copy link
Collaborator

@jacoterh jacoterh commented Nov 5, 2024

This PR implements a GitHub action that gets triggered on either pushing or opening a PR to check whether the pre-commit has been run. This makes sure people are forces to run the pre-commit locally, which makes checking PRs a lot easier!

@jacoterh jacoterh requested a review from LucaMantani November 5, 2024 14:26
@jacoterh
Copy link
Collaborator Author

jacoterh commented Nov 5, 2024

Indeed, it's running the check right now as I opened this PR ;-)

@LucaMantani
Copy link
Collaborator

It's running it twice, I think on push it will sufficient?

@jacoterh
Copy link
Collaborator Author

jacoterh commented Nov 5, 2024

I do agree, I don't see any reason for checking again after pushing

@jacoterh jacoterh merged commit 0cec1d4 into main Nov 5, 2024
1 check passed
@jacoterh jacoterh deleted the pre-commit-action branch November 5, 2024 14:33
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.

2 participants