File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 1- name : Changelog Labeler
1+ name : Label PR for Changelog
22
33on :
44 pull_request :
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) {
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';
You can’t perform that action at this time.
0 commit comments