What can the production environment's protection rules require before this job runs?
deploy: runs-on: ubuntu-latest environment: production
- A green build on every fork
- Approval by named reviewers
- A signed tag on the commit
- A self-hosted runner pool
GitHub environments can hold jobs until required reviewers approve, add a wait timer, limit which branches deploy, and scope secrets to that environment.
Play DevOps ▸