diff --git a/.github/workflows/pr-auto-manager.yml b/.github/workflows/pr-auto-manager.yml index d95ff8e73..cf247ff9d 100644 --- a/.github/workflows/pr-auto-manager.yml +++ b/.github/workflows/pr-auto-manager.yml @@ -1,6 +1,7 @@ name: 🔀 Pull Request Manager on: + workflow_dispatch: # Allow to manually call this workflow pull_request_target: types: [opened, synchronize, reopened, edited, labeled, unlabeled, closed] pull_request_review_comment: @@ -17,6 +18,12 @@ jobs: # Only needs to run when code is changed if: github.event.action == 'opened' || github.event.action == 'synchronize' + # Override permissions, linter likely needs write access to issues + permissions: + contents: read + issues: write + pull-requests: write + steps: - name: Checkout Repository # Checkout