Skip to content

Commit c7f7b64

Browse files
committed
GH Actions/label new PRs: tweak the conditions a little
... to prevent running into a bug which I've reported to the action runner: srvaroa/labeler#104 The default pull request template contain a categorization section anyway (which is not typically used for maintainer PRs), so let's use that section to auto-label the "Type" for new PRs.
1 parent 4ac5785 commit c7f7b64

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

.github/labeler.yml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,9 +75,18 @@ labels:
7575
files:
7676
- "src/Standards/Zend/.*"
7777

78+
- label: "Type: breaking change"
79+
draft: False
80+
body: "x\] Breaking change"
7881
- label: "Type: bug"
7982
draft: False
80-
body: ".* bug .*"
83+
body: "x\] Bug fix"
84+
- label: "Type: enhancement"
85+
draft: False
86+
body: "x\] New feature"
87+
- label: "Type: documentation"
88+
draft: False
89+
body: "x\] Documentation improvement"
8190
- label: "Type: documentation"
8291
draft: False
8392
files:

0 commit comments

Comments
 (0)