Branch protection
See original GitHub issueI want to enable branch protection in all my feedstocks (IMHO, it should be on by default for every feedstock). I can’t do this because I don’t have admin access.
Preferably the protection would have all the checkboxes, possibly sans the one that require branches to be fast-forward for all the branches (which is just master
by default, but since builds run on every branch, it should be applied to every new branch that is created too).
Issue Analytics
- State:
- Created 7 years ago
- Reactions:1
- Comments:11 (11 by maintainers)
Top Results From Across the Web
About protected branches - GitHub Docs
You can protect important branches by setting branch protection rules, which define whether collaborators can delete or force push to the branch and...
Read more >How to set up Git branch protection rules - Spectral
Git branch protection rules are a powerful configuration option that enables repository administrators to enforce security policies.
Read more >Protected branches - GitLab Docs
Allow everyone to push directly to a protected branch · On the top bar, select Main menu > Projects and find your project....
Read more >How to Set Up GitHub Branch Protection Rules - Nira
This rule ensures that collaborators cannot merge their pull requests or push directly to the branch. Instead, users first have to commit to...
Read more >GitHub Branch Protection: What It Is and Why It Matters
GitHub protected branches are an excellent solution for project leaders looking to keep tabs on top-priority code changes and updates without ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
It would be nice if GitHub would let you set a default branch protection for a repository.
So sounds like we are ok with blocking force pushes across the board. If you want to try drumming up a PR like that, @asmeurer I think there is a good chance for it being accepted. Does that sound reasonable?