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

[REQ] Add the ability to view and update the protected branches for a project #860

Open
DavidShelbs opened this issue Sep 5, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@DavidShelbs
Copy link

Is your request related to a workflow problem?

Right now there is no way to manage protected branches via wildcards (e.g. release/*), and we need to scan our feature branches for new vulnerabilities when a PR is opened up with a release branch. The only option for managing protected branches that I have found is through the web UI so this becomes very tedious when dealing with a fast release cycle as the number of projects grows.

Propose a solution

I would like a CLI command for retrieving the current protected branches set for a project, as well as the ability to add or remove protected branches from that list.

Additional comments

The option to set protected branches using wildcards would be another solution to the problem I am facing but I'm not sure if that is a viable solution on the back end.

@DavidShelbs DavidShelbs added the enhancement New feature or request label Sep 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant