Skip to content

Use minimum permissions for github token in PR workflows #52

Use minimum permissions for github token in PR workflows

Use minimum permissions for github token in PR workflows #52

name: Request Reviews
on:
pull_request_target:
types: [opened, ready_for_review, reopened]
permissions:
contents: read
jobs:
request-reviews:
runs-on: ubuntu-latest
steps:
- uses: necojackarc/auto-request-review@6a51cebffe2c084705d9a7b394abd802e0119633 # v0.12.0
with:
token: ${{ secrets.PAT_FOR_AUTO_REQUEST_REVIEW }}
config: .github/reviewers.yaml