| 1 |
name: PR Labels |
| 2 |
|
| 3 |
on: |
| 4 |
pull_request_target: |
| 5 |
types: |
| 6 |
- opened |
| 7 |
- labeled |
| 8 |
- unlabeled |
| 9 |
- synchronize |
| 10 |
workflow_call: |
| 11 |
|
| 12 |
jobs: |
| 13 |
pr_labels: |
| 14 |
name: Verify |
| 15 |
runs-on: ubuntu-latest |
| 16 |
steps: |
| 17 |
- name: Verify PR has a valid label |
| 18 |
uses: jesusvasquez333/[email protected] |
| 19 |
with: |
| 20 |
pull-request-number: "${{ github.event.pull_request.number }}" |
| 21 |
github-token: "${{ secrets.GITHUB_TOKEN }}" |
| 22 |
valid-labels: >- |
| 23 |
breaking-change, bugfix, documentation, enhancement, |
| 24 |
refactor, performance, new-feature, maintenance, ci, dependencies |
| 25 |
disable-reviews: true |