Controlling deployability of requests
You can require deployment requests to pass a set of checks before they can be deployed. For example, you can block deployment requests that don't pass external status checks or require that deployment requests have a specific number of approving reviews before they can be deployed.
Protected branches ensure that certain conditions are met before deploying changes to branches, like required status checks and required reviews.
If you're a repository owner, you can customize branch protections in the repository and enforce certain workflows, such as requiring more than one peer review or requiring certain status checks to pass before allowing a deployment request to be deployed.
Updated almost 3 years ago