diff options
author | Ivan Chen <ivan@tagg.id> | 2021-05-17 16:58:45 -0400 |
---|---|---|
committer | Ivan Chen <ivan@tagg.id> | 2021-05-17 16:58:45 -0400 |
commit | 052d1c5b077a948c4e1a11d77d9dcf6cebf5cd67 (patch) | |
tree | 75008cfd2d691687414f1f9a98467dc29fa60f0e | |
parent | 183ce2b263e7282f42d204ebd59676b8e28352ec (diff) |
Add configuration files for auto assign
-rw-r--r-- | .github/auto_assign.yml | 30 | ||||
-rw-r--r-- | .github/workflows/auto-assign.yml | 14 |
2 files changed, 44 insertions, 0 deletions
diff --git a/.github/auto_assign.yml b/.github/auto_assign.yml new file mode 100644 index 00000000..4f5e4ed0 --- /dev/null +++ b/.github/auto_assign.yml @@ -0,0 +1,30 @@ +# https://github.com/marketplace/actions/auto-assign-action + +# Set to true to add reviewers to pull requests +addReviewers: true + +# Set addAssignees to 'author' to set the PR creator as the assignee. +addAssignees: author + +# A list of reviewers to be added to pull requests (GitHub user name) +reviewers: + - reviewerA + - reviewerB + - reviewerC + +# A number of reviewers added to the pull request +# Set 0 to add all the reviewers (default: 0) +numberOfReviewers: 0 + +# A list of assignees, overrides reviewers if set +# assignees: +# - assigneeA + +# A number of assignees to add to the pull request +# Set to 0 to add all of the assignees. +# Uses numberOfReviewers if unset. +# numberOfAssignees: 2 + +# A list of keywords to be skipped the process that add reviewers if pull requests include it +# skipKeywords: +# - wip diff --git a/.github/workflows/auto-assign.yml b/.github/workflows/auto-assign.yml new file mode 100644 index 00000000..c7fbf844 --- /dev/null +++ b/.github/workflows/auto-assign.yml @@ -0,0 +1,14 @@ +# https://github.com/marketplace/actions/auto-assign-action + +name: 'Auto Assign' +on: + pull_request: + types: [opened, ready_for_review] + +jobs: + add-reviews: + runs-on: ubuntu-latest + steps: + - uses: kentaro-m/auto-assign-action@v1.1.2 + with: + configuration-path: ".github/auto_assign.yml"
\ No newline at end of file |