khasanovbi/Telegram Manual Workflow Approval
Allows for manual approval of workflows via Telegram within chat.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| telegram-key | Telegram Bot key | yes | — |
| telegram-chat-id | Telegram chat ID to send message | yes | — |
| timeout | Run timeout, in seconds | no | 120 |
| github-to-telegram | Mapping from github username to telegram username or ID, each pair in new line and separated with colon | no | "" |
| allow-self-approve | Whether or not to filter out the user who initiated the workflow as an approver if they are in the approvers list | no | false |
| approvers | List of github users that allowed to approver or reject deployment, each username in new line | no | "" |
| super-approvers | List of github users that allowed to approver or reject deployment, who can ignore allow-self-approve setting, each username in new line | no | "" |
| parse-mode | Mode for parsing entities | no | HTML |
| approval-text | Text of approval message | no | %%actor%% want's to <a href="%%workflow_run_url%%">deploy</a> <a href="%%github_ref_url%%">${{ github.event.repository.name }}@${{ github.ref_name }}</a> to production |
| approve-button | Text of approve button | no | Approve |
| reject-button | Text of rejection button | no | Reject |
| approved-text | Text of successful approved | no | Approved by %%approver%% |
| rejected-text | Text of successful rejected | no | Rejected by %%approver%% |
| timeout-text | Text of timeout | no | Timeout |
| approver-not-found-in-map-text | Text of unknown approver message | no | %%approver%% you are not found on config map |
| approver-permission-denied-text | Text of permission denied message | no | %%approver%% you can't approve or reject this deployment |
| actor-cant-do-self-approve-text | Text of error message, when actor can't do self approve | no | %%actor%% you can't do self approve |
Outputs
no outputs