summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/ensure-pr-label.yml18
1 files changed, 18 insertions, 0 deletions
diff --git a/.github/workflows/ensure-pr-label.yml b/.github/workflows/ensure-pr-label.yml
new file mode 100644
index 000000000..59e94e0ff
--- /dev/null
+++ b/.github/workflows/ensure-pr-label.yml
@@ -0,0 +1,18 @@
+name: Verify PR Labels
+on:
+ pull_request:
+ types: [opened, labeled, unlabeled, synchronize]
+jobs:
+ label:
+ runs-on: ubuntu-latest
+ permissions:
+ issues: write
+ pull-requests: write
+ steps:
+ - uses: mheap/github-action-required-labels@v5
+ with:
+ mode: exactly
+ count: 1
+ labels: |
+ pr: non-breaking
+ pr: breaking change \ No newline at end of file