Skip to content

Commit 5668a6b

Browse files
authored
Skip empty description in pr_labels.yaml workflow
1 parent 0a96514 commit 5668a6b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/pr_labels.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,8 @@ jobs:
3131
['* Backward incompatible change', 'backward-incompatible'],
3232
['* Documentation', 'documentation'],
3333
['* Not for changelog', 'not-for-changelog']
34-
];
34+
];
35+
if (!description) return;
3536
for (let pair of mapping) {
3637
if (!description.includes(pair[0])) continue;
3738
try {

0 commit comments

Comments
 (0)