Skip to content

Commit 5b55710

Browse files
authored
Fix pr_labels in case of empty description (#7930)
1 parent e37f763 commit 5b55710

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/pr_labels.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ jobs:
4747
}
4848
}
4949
// add first encountered label
50+
if (!description) return;
5051
for (let pair of mapping) {
5152
if (!description.includes(pair[0])) continue;
5253
// add label

0 commit comments

Comments
 (0)