Handle Closes commit trailers

References: c4bfcd1ff7
master 0.15.0
Simon Ser 2 months ago committed by Drew DeVault
parent 16dea8ac4d
commit 820b86cf9a
  1. 4
      hubsrht/blueprints/webhooks.py

@ -131,7 +131,9 @@ def _handle_commit_trailer(trailer, value, pusher, repo, commit):
if not _todosrht:
return
if trailer == "Fixes":
if trailer == "Closes":
resolution = "closed"
elif trailer == "Fixes":
resolution = "fixed"
elif trailer == "Implements":
resolution = "implemented"

Loading…
Cancel
Save