Gates wrapped around the deploy
An environment can require gates before any job targeting it runs. Configure under Settings → Environments → <name>.
Required reviewers
- Up to 6 specific users or teams.
- The job pauses; reviewers see a 'Review pending deployments' button.
- Reviewer must NOT be the same person who triggered the run (configurable).
Wait timer
- Force a delay (0–30 days) between approval and execution.
- Used for cooling periods, batch deploys, business-hour windows.
Deployment branch policy
- Restrict deploys to specific branches (often
mainonly). - Or to specific tags (
v*.*.*for releases). - Without this, a feature branch could deploy to prod by changing one line of YAML.
Custom deployment protection rules (Beta)
- Apps that vote on deploys: change-management tickets, observability budgets, etc.
- Useful when your gate requires data from outside GitHub.