Add new input 'issue-body' (#74)
* Add new input 'issue-body' Similar to the 'issue-title' input, 'issue-body' allows to put custom text to the body of the approval issue. * Update readme for 'issue-body' input
This commit is contained in:
parent
a28646d113
commit
948dfe9537
5 changed files with 16 additions and 2 deletions
|
|
@ -32,12 +32,14 @@ steps:
|
|||
approvers: user1,user2,org-team1
|
||||
minimum-approvals: 1
|
||||
issue-title: "Deploying v1.3.5 to prod from staging"
|
||||
issue-body: "Please approve or deny the deployment of version v1.3.5."
|
||||
exclude-workflow-initiator-as-approver: false
|
||||
```
|
||||
|
||||
- `approvers` is a comma-delimited list of all required approvers. An approver can either be a user or an org team. (*Note: Required approvers must have the ability to be set as approvers in the repository. If you add an approver that doesn't have this permission then you would receive an HTTP/402 Validation Failed error when running this action*)
|
||||
- `minimum-approvals` is an integer that sets the minimum number of approvals required to progress the workflow. Defaults to ALL approvers.
|
||||
- `issue-title` is a string that will be appended to the title of the issue.
|
||||
- `issue-body` is a string that will be prepended to the body of the issue.
|
||||
- `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. This is optional and defaults to `false`. Set this to `true` to prevent users in the `approvers` list from being able to self-approve workflows.
|
||||
|
||||
## Org team approver
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue