diff --git a/.github/auto-assignees.yml b/.github/auto-assignees.yml index 81c5fb8d0..b2158b59b 100644 --- a/.github/auto-assignees.yml +++ b/.github/auto-assignees.yml @@ -37,7 +37,4 @@ options: - wip - DO NOT MERGE enable_group_assignment: true - -# Randomly pick reviewers up to this number. -# Do not set this option if you'd like to assign all matching reviewers. -number_of_reviewers: 2 + number_of_reviewers: 2 diff --git a/.github/workflows/auto_request_review.yml b/.github/workflows/auto_request_review.yml index 91895e080..48622d7fc 100644 --- a/.github/workflows/auto_request_review.yml +++ b/.github/workflows/auto_request_review.yml @@ -2,8 +2,8 @@ name: "Auto Request Review" on: - pull_request: - types: [opened, ready_for_review, synchronize, reopened] + pull_request_target: + types: [opened, ready_for_review, reopened] jobs: auto-request-review: @@ -11,7 +11,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Request a PR review based on files types/paths, and/or groups the author belongs to - uses: necojackarc/auto-request-review@v0.5.1 + uses: necojackarc/auto-request-review@v0.7.0 with: token: ${{ secrets.GITHUB_TOKEN }} config: .github/auto-assignees.yml