Skip to content

Commit 8f65891

Browse files
authored
Adds label action (Netflix#1522)
1 parent c0cd94c commit 8f65891

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
name: Enforce PR labels
2+
3+
on:
4+
pull_request:
5+
types: [labeled, unlabeled, opened, edited, synchronize]
6+
jobs:
7+
enforce-label:
8+
runs-on: ubuntu-latest
9+
steps:
10+
- uses: yogevbd/enforce-label-action@2.1.0
11+
with:
12+
REQUIRED_LABELS_ANY: "bug,enhancement,doc,feature,skip-changelog"
13+
REQUIRED_LABELS_ANY_DESCRIPTION: "Select at least one label ['bug','doc','feature',enhancement','skip-changelog']"
14+
BANNED_LABELS: "banned"

0 commit comments

Comments
 (0)