Add issue approver output and enhance approval logic
- Updated action outputs to include the GitHub username of the approver. - Modified approval logic to return the approver's username upon approval or denial. - Enhanced tests to validate the new approver output. Rename 'issue-approver' to 'issue-responder' for clarity in approval process
This commit is contained in:
parent
d8289abf87
commit
bac46d08b3
7 changed files with 66 additions and 27 deletions
|
|
@ -82,7 +82,10 @@ The file method works unless the file itself is so big that after breaking it in
|
|||
|
||||
### Outputs
|
||||
|
||||
* `issue-number` is a string that indicates the number of the issue created.
|
||||
* `issue-url` is a string that indicates the URL of the issue created.
|
||||
* `approval-status` is a string that indicates the final status of the approval. This will be either `approved` or `denied`.
|
||||
* `issue-responder` is a string that indicates the GitHub username that approved or denied the request.
|
||||
|
||||
### Creating Issues in a different repository
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue