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

Add pre-push hook to prevent pushing directly to the main branch #1962

Closed
wants to merge 1 commit into from

Conversation

charleskawczynski
Copy link
Member

This PR adds a pre-push hook to prevent pushing commits directly to the main branch-- regardless of admin privileges.

Copy link
Member

@Sbozzolo Sbozzolo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we should keep the option turned off in the GitHub settings instead of adding a script that people have to know to install to their ClimaCore repos.

@charleskawczynski
Copy link
Member Author

I think we should keep the option turned off in the GitHub settings instead of adding a script that people have to know to install to their ClimaCore repos.

Yeah, I think I'd also prefer avoiding installation of additional things. I'll close it.

@charleskawczynski charleskawczynski deleted the ck/disable_main_push branch September 2, 2024 17:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants