Merge pull request #18 from lmammino/patch-1

More generic error message in case of duplication
This commit is contained in:
Aaron Klaassen 2020-03-20 16:23:54 -05:00 committed by GitHub
commit 4f102935dc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -40,7 +40,7 @@ coms = github.issue_comments(repo, pr_number)
duplicate = coms.find { |c| c["user"]["login"] == "github-actions[bot]" && c["body"] == message }
if duplicate
puts "The PR already contains a database change notification"
puts "The PR already contains this message"
exit(0)
end