1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
|
---
name: PR Labels
# yamllint disable-line rule:truthy
on:
# yamllint disable-line rule:comments
pull_request_target: # zizmor: ignore[dangerous-triggers] - Safe: only reads PR metadata, no code checkout
types:
- opened
- labeled
- unlabeled
- synchronize
workflow_call:
permissions:
contents: read
jobs:
validate:
name: Verify
runs-on: ubuntu-latest
permissions:
contents: read
pull-requests: read
steps:
- name: 🏷 Verify PR has a valid label
uses: klaasnicolaas/action-pr-labels@0592ae529e5c014a147d871b0a0405f927306f20 # v2.1.2
with:
valid-labels: >-
breaking-change, bugfix, documentation, enhancement, sync,
refactor, performance, new-feature, maintenance, ci, dependencies
|