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

Add support for approve policies #3

Open
khasanovbi opened this issue Feb 22, 2024 · 0 comments
Open

Add support for approve policies #3

khasanovbi opened this issue Feb 22, 2024 · 0 comments

Comments

@khasanovbi
Copy link

khasanovbi commented Feb 22, 2024

Hi, I suggest some additional settings:

  1. GITHUB_USERNAME_TO_TELEGRAM_USER_ID - mapping a github user to a user in telegram:
GITHUB_USERNAME_TO_TELEGRAM_USER_ID: 
    powerdot: 12300303
    khasanovbi: 12300304
    githubuser: 12300305
  1. ALLOWED_APPROVERS - a list of github users and teams that can approve the deployment
ALLOWED_APPROVERS:
   - powerdot
   - khasanovbi
  1. EXCLUDE_WORKFLOW_INITIATOR_AS_APPROVER - is a boolean that indicates if the workflow initiator (determined by the GITHUB_ACTOR environment variable) should be filtered from the final list of approvers.

  2. SUPER_APPROVERS - a list of approvers that could ignore EXCLUDE_WORKFLOW_INITIATOR_AS_APPROVER boolean.

SUPER_APPROVERS:
   - khasanovbi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant