summaryrefslogtreecommitdiff
path: root/.github/workflows/auto_request_review.yml
blob: 207315a084cc59a12dfbaa64c77c52cea5d3c2c2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
name: Auto Request Review
on:
  pull_request_target:
    types: [opened, ready_for_review, reopened]
    branches: [master]

permissions:
  contents: read

jobs:
  auto-request-review:
    name: Auto Request Review
    runs-on: ubuntu-latest
    if: ${{ github.repository == 'ruby/ruby' && github.base_ref == 'master' }}
    steps:
      - name: Request review based on files changes and/or groups the author belongs to
        uses: necojackarc/auto-request-review@e89da1a8cd7c8c16d9de9c6e763290b6b0e3d424 # v0.13.0
        with:
          # scope: public_repo
          token: ${{ secrets.MATZBOT_AUTO_REQUEST_REVIEW_TOKEN }}