summaryrefslogtreecommitdiffstats
path: root/.github/workflows/pr-labels.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/pr-labels.yml')
-rw-r--r--.github/workflows/pr-labels.yml21
1 files changed, 21 insertions, 0 deletions
diff --git a/.github/workflows/pr-labels.yml b/.github/workflows/pr-labels.yml
new file mode 100644
index 0000000..0bc6130
--- /dev/null
+++ b/.github/workflows/pr-labels.yml
@@ -0,0 +1,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"