Skip to content

Commit

Permalink
Allow no assignees (#59)
Browse files Browse the repository at this point in the history
* build: bump dependencies

* feat: allow no assignees
  • Loading branch information
pozil authored Jul 18, 2022
1 parent 7117a49 commit 0ee0e95
Show file tree
Hide file tree
Showing 1,572 changed files with 14,481 additions and 9,640 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
| `teams` | String | only if `assignees` is not specified | Comma separated list of teams. Issue will be assigned to the team members.<br/><br/>**Important Requirement:** if using the `teams` input parameter, you need to use a personal access token with `read:org` scope (the default `GITHUB_TOKEN` is not enough). |
| `numOfAssignee` | Number | false | Number of assignees that will be randomly picked from the teams or assignees. If not specified, assigns all users. |
| `removePreviousAssignees` | Boolean | false | Flag that removes assignees before assigning them (useful the issue is reasigned). False by default. |
| `allowNoAssignees` | Boolean | false | Flag that prevents the action from failing when there are no assignees. False by default. |
| `allowSelfAssign` | Boolean | false | Flag that allows self-assignment to the issue author. True by default.<br/><br/>This flag is ignored when working with PRs as self assigning a PR for review is forbidden by GitHub. |

## Examples
Expand Down
4 changes: 4 additions & 0 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@ inputs:
description: 'Flag that removes assignees before assigning them (useful the issue is reasigned).'
required: false
default: false
allowNoAssignees:
description: 'Flag that prevents the action from failing when there are no assignees.'
required: false
default: false
allowSelfAssign:
description: 'Flag that allows self-assignment to the issue author.'
required: false
Expand Down
1 change: 1 addition & 0 deletions node_modules/.bin/browserslist-lint

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

35 changes: 16 additions & 19 deletions node_modules/@babel/code-frame/package.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 0ee0e95

Please sign in to comment.