Add duplicate PR detection
lramos15 opened this issue · 2 comments
lramos15 commented
It is possible that if you toggle from draft, ready for review, back to draft that the message is posted twice. It is also possible someone manually posts a message prior to the the bot getting to it. We should detect duplicates and not post.
A large part of these issues stem from PRs being converted to draft very close to creation time but the GitHub payload still comes back as draft
joaomoreno commented
cc @joaomoreno
lramos15 commented
@joaomoreno The PR that went in is to prevent the overzealous draft posting. If we still see duplicate PRs that aren't caused by the draft bug being posted I can implement full duplicate detection