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

Project Workflow: Manage project branch protection rules via config file #20

Open
thomasplevy opened this issue Aug 25, 2021 · 0 comments
Assignees
Labels
Type: Enhancement Improvements existing features or code

Comments

@thomasplevy
Copy link
Contributor

Most projects have the same set of default branches (trunk, dev, release, prerelease) which should be automatically protected against deletion, trunk and dev should require pull request approvals and status checks, etc...

Creating a default config file with these rules and deploying that across specified repositories would make it simple to manage these rules in bulk.

This action could be leveraged to handle this from this repo: https://github.com/marketplace/actions/set-branch-protection

@thomasplevy thomasplevy added the Type: Enhancement Improvements existing features or code label Aug 25, 2021
@thomasplevy thomasplevy self-assigned this Aug 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Enhancement Improvements existing features or code
Projects
None yet
Development

No branches or pull requests

1 participant