Skip to content

Commit e5f0ede

Browse files
committed
Bot skip Binder comment
1 parent 4cf7eaf commit e5f0ede

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/benchmark-report.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,8 @@ jobs:
5959
})
6060
6161
// Find any comment already made by the bot.
62-
const botComment = comments.find(comment => comment.user.id === 41898282)
62+
const botComments = comments.filter(comment => comment.user.id === 41898282)
63+
const botComment = botComments.find(cm => !cm.body.include('Try it on binder') )
6364
if (botComment) {
6465
await github.issues.updateComment({
6566
owner: context.repo.owner,

0 commit comments

Comments
 (0)