File: pr-labels.yaml

package info (click to toggle)
python-powerfox 2.0.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 780 kB
  • sloc: python: 906; makefile: 3
file content (31 lines) | stat: -rw-r--r-- 808 bytes parent folder | download
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