Skip to content

Commit

Permalink
Bot skip Binder comment
Browse files Browse the repository at this point in the history
  • Loading branch information
trungleduc committed Oct 5, 2021
1 parent 4cf7eaf commit e5f0ede
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/benchmark-report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,8 @@ jobs:
})
// Find any comment already made by the bot.
const botComment = comments.find(comment => comment.user.id === 41898282)
const botComments = comments.filter(comment => comment.user.id === 41898282)
const botComment = botComments.find(cm => !cm.body.include('Try it on binder') )
if (botComment) {
await github.issues.updateComment({
owner: context.repo.owner,
Expand Down

0 comments on commit e5f0ede

Please sign in to comment.