Skip to content

Commit 0ab2e85

Browse files
authored
Skip empty description in pr_labels.yaml workflow (#1117)
1 parent a8c06d2 commit 0ab2e85

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)