Skip to content

Commit

Permalink
Fix pr_labels in case of empty description (ydb-platform#7930)
Browse files Browse the repository at this point in the history
  • Loading branch information
maximyurchuk authored Aug 16, 2024
1 parent e37f763 commit 5b55710
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/pr_labels.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ jobs:
}
}
// add first encountered label
if (!description) return;
for (let pair of mapping) {
if (!description.includes(pair[0])) continue;
// add label
Expand Down

0 comments on commit 5b55710

Please sign in to comment.