Skip to content

Commit a839cde

Browse files
authored
Add PR- label requirement action (#3171)
* Add PR- label requirement action * also add dependencies * review
1 parent 8b63813 commit a839cde

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

.github/workflows/changelog-label.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
name: PR changelog label
2+
3+
on:
4+
pull_request_target:
5+
types: [labeled, unlabeled, opened]
6+
jobs:
7+
pr-changelog-label:
8+
runs-on: ubuntu-latest
9+
steps:
10+
- uses: yogevbd/enforce-label-action@2.1.0
11+
with:
12+
REQUIRED_LABELS_ANY: "PR-Bug-Fix,PR-Documentation,PR-Task,PR-Feature,PR-Improvement,PR-Developer-Experience,dependencies"
13+
REQUIRED_LABELS_ANY_DESCRIPTION: "Select at least one 'PR-' label"
14+
BANNED_LABELS: "banned"

0 commit comments

Comments
 (0)