Testing out GitHub features that require a public repository.
The .github/workflows/environment-test.yml
workflow shows how it's possible to require a review on a specific environment before continuing the workflow using Reviewing deployments.
Furthermore, the above-mentioned workflow also shows how the jobs can be triggered based on the output from the previous job.
Check out the flow charts in the following cases:
Using GitHub Environments also provides deployment information such as:
Branch deployment status
Deployment activity