openedx / openedx-webhooks

Webhooks for the Open edX GitHub and JIRA
http://openedx-webhooks.herokuapp.com/
Apache License 2.0
12 stars 20 forks source link

fix: don't comment twice when a pr is closed with comment. #277 #278

Closed nedbat closed 1 year ago

nedbat commented 1 year ago

This check (that the comment create date and the pull request closed date are the same) might not be 100% fool-proof. If they are off by one second, the bot will still comment twice, but that should be unlikely.

codecov[bot] commented 1 year ago

Codecov Report

Attention: 2 lines in your changes are missing coverage. Please review.

Comparison is base (f536906) 90.00% compared to head (d308b82) 90.00%. Report is 1 commits behind head on master.

Files Patch % Lines
openedx_webhooks/github_views.py 0.00% 2 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #278 +/- ## ======================================= Coverage 90.00% 90.00% ======================================= Files 38 38 Lines 2840 2840 Branches 392 393 +1 ======================================= Hits 2556 2556 Misses 259 259 Partials 25 25 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.