• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1name: Auto Request Review
2
3on:
4  pull_request:
5    types: [opened, ready_for_review]
6jobs:
7  auto-request-review:
8    # Don't run on forked repos
9    if: ${{ !github.event.pull_request.head.repo.fork }}
10    permissions:
11      contents: read
12      pull-requests: write
13    name: Auto Request Review
14    runs-on: ubuntu-latest
15    steps:
16      - name: Request review based on files changes and/or groups the author belongs to
17        # v0.7.0
18        uses: necojackarc/auto-request-review@e08cdffa277d50854744de3f76230260e61c67f4
19        with:
20          token: ${{ secrets.GITHUB_TOKEN }}
21
22concurrency:
23  group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }}-${{ github.event_name == 'workflow_dispatch' }}
24  cancel-in-progress: true
25