Try fix linter with explicit permissions

1f9472e7b2ec9fc68cf5611b9b140b1319be7122

Wolfsblvt <wolfsblvt@gmail.com>

1 files changed, +7 -0Ignore whitespace
.github/workflows/pr-auto-manager.yml+7 -0
@@ -1,6 +1,7 @@
1name: 🔀 Pull Request Manager1name: 🔀 Pull Request Manager
22
3on:3on:
4 workflow_dispatch: # Allow to manually call this workflow
4 pull_request_target:5 pull_request_target:
5 types: [opened, synchronize, reopened, edited, labeled, unlabeled, closed]6 types: [opened, synchronize, reopened, edited, labeled, unlabeled, closed]
6 pull_request_review_comment:7 pull_request_review_comment:
@@ -17,6 +18,12 @@ jobs:
17 # Only needs to run when code is changed18 # Only needs to run when code is changed
18 if: github.event.action == 'opened' || github.event.action == 'synchronize'19 if: github.event.action == 'opened' || github.event.action == 'synchronize'
1920
21 # Override permissions, linter likely needs write access to issues
22 permissions:
23 contents: read
24 issues: write
25 pull-requests: write
26
20 steps:27 steps:
21 - name: Checkout Repository28 - name: Checkout Repository
22 # Checkout29 # Checkout