Skip to content

Commit fe3ecf7

Browse files
mathusanm6Copilot
andauthored
Update .github/workflows/pr-size-labeler.yml
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent c5b6b20 commit fe3ecf7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/pr-size-labeler.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ jobs:
133133
});
134134
135135
const hasExistingComment = comments.some(comment =>
136-
comment.user.type === 'Bot' && comment.body.includes('This PR is very large')
136+
comment.user.login && comment.user.login.endsWith('[bot]') && comment.body.includes('This PR is very large')
137137
);
138138
139139
if (!hasExistingComment) {

0 commit comments

Comments
 (0)