GitHub Actions: Limit which branches can deploy to an environment
You can now limit which branches can deploy to an environment using Environment protection rules. When a job tries to deploy to an environment with Deployment branches configured Actions will…