summaryrefslogtreecommitdiffstats
path: root/.github/workflows/pr-labels.yml
blob: 0bc613037a2a39d9fcfb331d43c2db20a64f2893 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
name: "PR labels"
on:
  pull_request:
    types:
      - "opened"
      - "reopened"
      - "labeled"
      - "unlabeled"
      - "synchronize"

jobs:
  add-pr-label:
    name: "Ensure Required Labels"
    runs-on: ubuntu-latest
    steps:
      - name: "PR impact specified"
        uses: mheap/github-action-required-labels@v5
        with:
          mode: exactly
          count: 1
          labels: "bug, debt, feature-request, no-changelog"