Try fix linter with explicit permissions
| @@ -1,6 +1,7 @@ | ||
| 1 | 1 | name: 🔀 Pull Request Manager |
| 2 | 2 | |
| 3 | 3 | on: |
| 4 | + workflow_dispatch: # Allow to manually call this workflow | |
| 4 | 5 | pull_request_target: |
| 5 | 6 | types: [opened, synchronize, reopened, edited, labeled, unlabeled, closed] |
| 6 | 7 | pull_request_review_comment: |
| @@ -17,6 +18,12 @@ jobs: | ||
| 17 | 18 | # Only needs to run when code is changed |
| 18 | 19 | if: github.event.action == 'opened' || github.event.action == 'synchronize' |
| 19 | 20 | |
| 21 | + # Override permissions, linter likely needs write access to issues | |
| 22 | + permissions: | |
| 23 | + contents: read | |
| 24 | + issues: write | |
| 25 | + pull-requests: write | |
| 26 | + | |
| 20 | 27 | steps: |
| 21 | 28 | - name: Checkout Repository |
| 22 | 29 | # Checkout |