Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Define policy for deployment approval #6

Open
david3107 opened this issue Apr 24, 2024 · 0 comments
Open

Define policy for deployment approval #6

david3107 opened this issue Apr 24, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@david3107
Copy link
Contributor

Current situation

Github offer simple deployment protection rules. If a deployment matches an environment, designated users will need to approve.

Improvement

Use Gitarmor to

  1. check that the approvers are correctly defined in the repo
  2. 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
@david3107 david3107 moved this to Backlog in GitArmor Improvements Apr 24, 2024
@theztefan theztefan added the enhancement New feature or request label Apr 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: Backlog
Development

No branches or pull requests

2 participants