Fix permissions for assign PR action.
name: 'Auto Assign PR'
-on:
- pull_request:
+on: pull_request_target
jobs:
add-reviews:
runs-on: ubuntu-latest
steps:
- - uses: kentaro-m/auto-assign-action@v1.1.2
+ - uses: kentaro-m/auto-assign-action@v1.1.1
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"
