diff --git a/.github/reviewers.yaml b/.github/reviewers.yaml new file mode 100644 index 00000000000..a42a3554aea --- /dev/null +++ b/.github/reviewers.yaml @@ -0,0 +1,7 @@ +reviewers: + defaults: + - team:contour-reviewers + +options: + ignore_draft: true + number_of_reviewers: 1 diff --git a/.github/workflows/request-reviews.yaml b/.github/workflows/request-reviews.yaml new file mode 100644 index 00000000000..99ac98641c6 --- /dev/null +++ b/.github/workflows/request-reviews.yaml @@ -0,0 +1,14 @@ +name: Request Reviews + +on: + pull_request_target: + types: [opened, ready_for_review, reopened] + +jobs: + request-reviews: + runs-on: ubuntu-latest + steps: + - uses: necojackarc/auto-request-review@v0.12.0 + with: + token: ${{ secrets.PAT_FOR_AUTO_REQUEST_REVIEW }} + config: .github/reviewers.yaml