Skip to content

Commit eb3e95c

Browse files
committed
fixes
1 parent 64d2146 commit eb3e95c

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
@@ -1,4 +1,4 @@
1-
name: Changelog Labeler
1+
name: Label PR for Changelog
22

33
on:
44
pull_request:
@@ -27,7 +27,7 @@ jobs:
2727
2828
// Check if a Changelog label already exists
2929
const hasChangelogLabel = currentLabels.some(label =>
30-
label.name.startsWith('Changelog') || label.name === 'skip-changelog'
30+
label.name.startsWith('Changelog:') || label.name === 'skip-changelog'
3131
);
3232
3333
if (hasChangelogLabel) {
@@ -46,7 +46,7 @@ jobs:
4646
newLabel = 'Changelog: Deprecation';
4747
} else if (title.startsWith('docs')) {
4848
newLabel = 'Changelog: Docs';
49-
} else if (title.startswith('ref') || title.startsWith('test')) {
49+
} else if (title.startsWith('ref') || title.startsWith('test')) {
5050
newLabel = 'Changelog: Internal';
5151
} else if (title.startsWith('ci') || title.startsWith('build')) {
5252
newLabel = 'skip-changelog';

0 commit comments

Comments
 (0)