Skip to content

Commit 24d4639

Browse files
authored
Create pr-badge.yml
1 parent b0f3a6e commit 24d4639

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

.github/pr-badge.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
- label: "Error"
2+
message: "Wrong target branch"
3+
color: "red"
4+
when: "$targetBranchName != 'dev'"
5+
6+
- label: "Warn"
7+
message: "Missing labels"
8+
color: "yellow"
9+
when: "$payload.pull_request.labels.length === 0"

0 commit comments

Comments
 (0)