| 1 | name: Require PR label |
| 2 | |
| 3 | on: |
| 4 | pull_request: |
| 5 | types: [opened, reopened, labeled, unlabeled, synchronize] |
| 6 | |
| 7 | jobs: |
| 8 | label: |
| 9 | runs-on: ubuntu-latest |
| 10 | |
| 11 | permissions: |
| 12 | issues: write |
| 13 | pull-requests: write |
| 14 | |
| 15 | steps: |
| 16 | - uses: mheap/github-action-required-labels@v5 |
| 17 | with: |
| 18 | mode: minimum |
| 19 | count: 1 |
| 20 | labels: | |
| 21 | changelog: Added |
| 22 | changelog: Changed |
| 23 | changelog: Deprecated |
| 24 | changelog: Fixed |
| 25 | changelog: Removed |
| 26 | changelog: Security |
| 27 | changelog: skip |