Skip to content

Commit 19e78df

Browse files
fix(ci): Fix label check workflow (#10044)
1 parent 912bdde commit 19e78df

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/check-pull-request-labels.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ jobs:
4545
repo: context.repo.repo
4646
})
4747
const commentMarker = '<!-- dd-trace-java-check-pr-labels-workflow -->'
48-
const blockingComment = comments.data.find(comment => comment.body.includes(commentMarker))
48+
let blockingComment = comments.data.find(comment => comment.body.includes(commentMarker))
4949
// Create or update blocking comment if there are invalid labels
5050
if (hasInvalidLabels) {
5151
const commentBody = '**PR Blocked - Invalid Label**\n\n' +

0 commit comments

Comments
 (0)