| 1 | name: Apply triage label to new issue |
| 2 | |
| 3 | on: |
| 4 | issues: |
| 5 | types: [opened] |
| 6 | |
| 7 | permissions: # added using https://github.com/step-security/secure-repo |
| 8 | contents: read |
| 9 | |
| 10 | jobs: |
| 11 | triage: |
| 12 | permissions: |
| 13 | issues: write # for andymckay/labeler to label issues |
| 14 | pull-requests: write # for andymckay/labeler to label PRs |
| 15 | runs-on: ubuntu-latest |
| 16 | steps: |
| 17 | - uses: andymckay/labeler@e6c4322d0397f3240f0e7e30a33b5c5df2d39e90 # 1.0.4 |
| 18 | with: |
| 19 | repo-token: '${{ secrets.GITHUB_TOKEN }}' |
| 20 | add-labels: 'Status: Triage' |
| 21 | |