Skip to content

Commit 79f7298

Browse files
committed
Move deprecation up to trigger first
1 parent eb3e95c commit 79f7298

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/pr-labeler.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,12 +38,12 @@ jobs:
3838
// Determine which label to apply
3939
let newLabel = null;
4040
41-
if (title.startsWith('feat')) {
41+
if (title.includes('deprecate')) {
42+
newLabel = 'Changelog: Deprecation';
43+
} else if (title.startsWith('feat')) {
4244
newLabel = 'Changelog: Feature';
4345
} else if (title.startsWith('fix') || title.startsWith('bugfix')) {
4446
newLabel = 'Changelog: Bugfix';
45-
} else if (title.includes('deprecate')) {
46-
newLabel = 'Changelog: Deprecation';
4747
} else if (title.startsWith('docs')) {
4848
newLabel = 'Changelog: Docs';
4949
} else if (title.startsWith('ref') || title.startsWith('test')) {

0 commit comments

Comments
 (0)