joshjohanning/ApproveOps - Approvals in IssueOps
IssueOps (ChatOps) workflows that require Approvals from someone in a designated GitHub team
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| approve-command | The command to look for in the comments; e.g.: /approve | yes | /approve |
| team-name | The name of the team in GitHub to check for the approval command; e.g.: approver-team | yes | — |
| token | GitHub App installation token or PAT that has access to read the comments and check the org team's membership | yes | ${{ github.token }} |
| fail-if-approval-not-found | Fail the action (i.e. show the action run as red) if the command is not found in the comments from someone in the approver team | yes | true |
| post-successful-approval-comment | Boolean whether to post successful approval comment | yes | true |
| successful-approval-comment | Comment to post if an approval is found | yes | :tada: You were able to run the workflow because someone left an approval in the comments!! |
Outputs
| name | description |
|---|---|
| approved | Returns 'true' if the approval command was found in a comment from someone in the approver team, otherwise 'false' |