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 failed on merge to main #57

Open
steve-downey opened this issue Sep 4, 2024 · 1 comment
Open

Pre-commit action failed on merge to main #57

steve-downey opened this issue Sep 4, 2024 · 1 comment
Assignees

Comments

@steve-downey
Copy link
Member

https://github.com/beman-project/Optional26/actions/runs/10691091170

Failed on check of accidental merge to main branch.

@steve-downey steve-downey self-assigned this Sep 4, 2024
@steve-downey
Copy link
Member Author

After some research, it seems the right thing to do is to configure this check to be marked SKIP in the gh action, and instead use gh branch protection to avoid direct merges to main. The check is still useful for local workflows using the pre-commit framework as an actual git pre-commit hook.

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

1 participant