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

permissions:
  contents: read

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