Try fix linter with explicit permissions

1f9472e7b2ec9fc68cf5611b9b140b1319be7122

Wolfsblvt <wolfsblvt@gmail.com>

1 files changed, +7 -0Showing whitespace changes
.github/workflows/pr-auto-manager.yml+7 -0
@@ -1,6 +1,7 @@
11name: 🔀 Pull Request Manager
22
33on:
4+ workflow_dispatch: # Allow to manually call this workflow
45 pull_request_target:
56 types: [opened, synchronize, reopened, edited, labeled, unlabeled, closed]
67 pull_request_review_comment:
@@ -17,6 +18,12 @@ jobs:
1718 # Only needs to run when code is changed
1819 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+
2027 steps:
2128 - name: Checkout Repository
2229 # Checkout