Current situation
Github offer simple deployment protection rules. If a deployment matches an environment, designated users will need to approve.
Improvement
Use Gitarmor to
- check that the approvers are correctly defined in the repo
- define more complex rule to automatically approve deployments (maybe this requires a separate issue)
Example 1
deployment:
prod:
- user1
- user2
Example 2
deployment:
auto-approve:
dev:
folders:
- "/*"
approval-required:
prod:
folders:
- "a/authN":
- user1
- user2
- authZ:
- user1
- user2
Current situation
Github offer simple deployment protection rules. If a deployment matches an environment, designated users will need to approve.
Improvement
Use Gitarmor to
Example 1
Example 2