Summary
Add GitHub Actions outputs for reviewers and assignees so that subsequent workflow steps can use this information.
Use Case
Users can pass the assigned reviewers/assignees to other actions, such as Slack notifications:
- uses: kentaro-m/auto-assign-action@v2
id: assign
- uses: slackapi/slack-github-action@v1
with:
payload: |
{"text": "Reviewers assigned: ${{ steps.assign.outputs.reviewers }}"}
Proposed Outputs
| Output |
Description |
Example |
reviewers |
Comma-separated list of assigned reviewers |
user1,user2 |
assignees |
Comma-separated list of assigned assignees |
user3,user4 |
Implementation
Add core.setOutput() calls in handler.ts after successful assignment.
Also update action.yml to document the outputs.
Summary
Add GitHub Actions outputs for
reviewersandassigneesso that subsequent workflow steps can use this information.Use Case
Users can pass the assigned reviewers/assignees to other actions, such as Slack notifications:
Proposed Outputs
reviewersuser1,user2assigneesuser3,user4Implementation
Add
core.setOutput()calls inhandler.tsafter successful assignment.Also update
action.ymlto document the outputs.