From 052d1c5b077a948c4e1a11d77d9dcf6cebf5cd67 Mon Sep 17 00:00:00 2001 From: Ivan Chen Date: Mon, 17 May 2021 16:58:45 -0400 Subject: Add configuration files for auto assign --- .github/auto_assign.yml | 30 ++++++++++++++++++++++++++++++ .github/workflows/auto-assign.yml | 14 ++++++++++++++ 2 files changed, 44 insertions(+) create mode 100644 .github/auto_assign.yml create mode 100644 .github/workflows/auto-assign.yml (limited to '.github') 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 -- cgit v1.2.3-70-g09d2 From e8e51c004ba655c756c14e8d28ab593fa7168c1d Mon Sep 17 00:00:00 2001 From: Ivan Chen Date: Mon, 17 May 2021 17:03:16 -0400 Subject: Add real users --- .github/auto_assign.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to '.github') diff --git a/.github/auto_assign.yml b/.github/auto_assign.yml index 4f5e4ed0..d5d2a2fe 100644 --- a/.github/auto_assign.yml +++ b/.github/auto_assign.yml @@ -8,13 +8,14 @@ addAssignees: author # A list of reviewers to be added to pull requests (GitHub user name) reviewers: - - reviewerA - - reviewerB - - reviewerC + - IvanIFChen + - shravyaramesh + - grusuTagg + - brian-tagg # A number of reviewers added to the pull request # Set 0 to add all the reviewers (default: 0) -numberOfReviewers: 0 +numberOfReviewers: 1 # A list of assignees, overrides reviewers if set # assignees: -- cgit v1.2.3-70-g09d2