diff --git a/.github/reviewers.yml b/.github/reviewers.yml new file mode 100644 index 0000000..3aebd13 --- /dev/null +++ b/.github/reviewers.yml @@ -0,0 +1,4 @@ +reviewers: + # The default reviewers + defaults: + - team:squareup/cash-ios-knit \ No newline at end of file diff --git a/.github/workflows/auto_request_review.yml b/.github/workflows/auto_request_review.yml new file mode 100644 index 0000000..21f1361 --- /dev/null +++ b/.github/workflows/auto_request_review.yml @@ -0,0 +1,16 @@ +name: Auto Request Review + +on: + pull_request: + types: [ready_for_review] + +jobs: + auto-request-review: + name: Auto Request Review + runs-on: ubuntu-latest + steps: + - name: Request review based on files changes and/or groups the author belongs to + uses: necojackarc/auto-request-review@v0.12.0 + with: + token: ${{ secrets.GITHUB_TOKEN }} + config: .github/reviewers.yml # Config file location override