diff --git a/.github/auto_assign.yml b/.github/auto_assign.yml new file mode 100644 index 0000000..f284363 --- /dev/null +++ b/.github/auto_assign.yml @@ -0,0 +1,26 @@ +--- +# Set to true to add reviewers to pull requests +addReviewers: true + +# Set to true to add assignees to pull requests +addAssignees: author +# A list of reviewers to be added to pull requests (GitHub user name) +reviewers: + - mackenziesnyder + - ataha24 + - Dhananjhay +# 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 \ No newline at end of file diff --git a/.github/workflows/auto_assign_reviewers.yml b/.github/workflows/auto_assign_reviewers.yml new file mode 100644 index 0000000..a5ef41d --- /dev/null +++ b/.github/workflows/auto_assign_reviewers.yml @@ -0,0 +1,12 @@ +name: Auto Assign Reviewers + +on: + pull_request: + types: [opened, ready_for_review] + pull_request_target: + types: [opened, ready_for_review] + +jobs: + assign-reviewer: + uses: khanlab/actions/.github/workflows/workflow-pr_task-assignReviewer.yml@v0.3.4 +