aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIvan Chen <ivan@tagg.id>2021-05-18 18:19:06 -0400
committerGitHub <noreply@github.com>2021-05-18 18:19:06 -0400
commitccbe6e9bae20dea9547cfe497a9d53ca7aab034d (patch)
tree8b10db6d047e2c0881771ca55fafd782a994f590
parent11693ffaf7b01e8d8c171b11c96b9148038cab94 (diff)
parente8e51c004ba655c756c14e8d28ab593fa7168c1d (diff)
Merge pull request #431 from IvanIFChen/tma870-auto-assign
[TMA-870] Add Configuration Files for Auto Assign
-rw-r--r--.github/auto_assign.yml31
-rw-r--r--.github/workflows/auto-assign.yml14
2 files changed, 45 insertions, 0 deletions
diff --git a/.github/auto_assign.yml b/.github/auto_assign.yml
new file mode 100644
index 00000000..d5d2a2fe
--- /dev/null
+++ b/.github/auto_assign.yml
@@ -0,0 +1,31 @@
+# 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:
+ - IvanIFChen
+ - shravyaramesh
+ - grusuTagg
+ - brian-tagg
+
+# A number of reviewers added to the pull request
+# Set 0 to add all the reviewers (default: 0)
+numberOfReviewers: 1
+
+# 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