Switch pr workflow back to pull_request_target
| @@ -1,8 +1,7 @@ | ||
| 1 | 1 | name: 🔀 Pull Request Manager |
| 2 | 2 | |
| 3 | 3 | on: |
| 4 | 4 | workflow_dispatchpull_request_target: |
| 5 | - pull_request: # TODO: This is for texting, and should not be merged into staging. Staging should use 'pull_request_target' | |
| 6 | 5 | types: [opened, synchronize, reopened, edited, labeled, unlabeled, closed] |
| 7 | 6 | pull_request_review_comment: |
| 8 | 7 | types: [created] |
| @@ -91,6 +90,12 @@ jobs: | ||
| 91 | 90 | # Only runs on comments not done by the github actions bot |
| 92 | 91 | if: github.event_name == 'pull_request_review_comment' && github.actor != 'github-actions[bot]' |
| 93 | 92 | |
| 93 | + # Override permissions, issue labeler needs issues write access | |
| 94 | + permissions: | |
| 95 | + contents: read | |
| 96 | + issues: write | |
| 97 | + pull-requests: write | |
| 98 | + | |
| 94 | 99 | steps: |
| 95 | 100 | - name: Remove Stale Label |
| 96 | 101 | # 🤖 Issues Helper |