GitHub Action
Actions Ecosystem Action Add Assignees
v1.0.0
Latest version
This is a GitHub Action to add assignees to an issue or a pull request.
It would be more useful to use this with other GitHub Actions' outputs.
NAME | DESCRIPTION | TYPE | REQUIRED | DEFAULT |
---|---|---|---|---|
github_token |
A GitHub token. | string |
true |
N/A |
assignees |
The assignees' name to be added. Must be separated with line breaks if there're multiple assignees. | string |
true |
N/A |
number |
The number of the issue or pull request. | number |
false |
N/A |
repo |
The owner and repository name. e.g.) Codertocat/Hello-World |
string |
false |
${{ github.repository }} |
name: Auto Assign
on:
pull_request:
types:
- opened
- reopened
jobs:
add_assignees:
runs-on: ubuntu-latest
steps:
- uses: actions-ecosystem/action-add-assignees@v1
with:
github_token: ${{ secrets.github_token }}
assignees: ${{ github.actor }}
Copyright 2020 The Actions Ecosystem Authors.
Action Add Assignees is released under the Apache License 2.0.