diff --git a/entrypoint.sh b/entrypoint.sh index a97a0c3..8ccee1a 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -32,7 +32,7 @@ end message = ARGV.join(' ') coms = github.issue_comments(repo, pr["number"]) -duplicate = coms.find { |c| c["user"]["login"] == 'github-actions[bot]' and c["body"] == message } +duplicate = coms.find { |c| c["user"]["login"] == "github-actions[bot]" && c["body"] == message } if duplicate puts "The PR already contains a database change notification"