question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Branch protection

See original GitHub issue

I 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:open
  • Created 7 years ago
  • Reactions:1
  • Comments:11 (11 by maintainers)

github_iconTop GitHub Comments

1reaction
asmeurercommented, Sep 18, 2016

It would be nice if GitHub would let you set a default branch protection for a repository.

1reaction
jakirkhamcommented, Sep 1, 2016

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?

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found