Skip to content

Commit 68c0fd1

Browse files
authored
fix: remove bot check for existing comments (#80)
1 parent f780fd1 commit 68c0fd1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ async function run(octokit, context, token) {
215215
const comments = (await octokit.issues.listComments(commentInfo)).data;
216216
for (let i = comments.length; i--; ) {
217217
const c = comments[i];
218-
if (c.user.type === 'Bot' && /<sub>[\s\n]*(compressed|gzip)-size-action/.test(c.body)) {
218+
if (/<sub>[\s\n]*(compressed|gzip)-size-action/.test(c.body)) {
219219
commentId = c.id;
220220
break;
221221
}

0 commit comments

Comments
 (0)