Webhook notifications on PR builds: send both merge commit SHA1 and head commit SHA1, in long form

Jean-Baptiste L's Avatar

Jean-Baptiste L

05 Jan, 2017 09:50 AM


It would be really nice to have Git commit SHA1s in long form in webhook payloads, and to have both the merge commit SHA1 and the head commit SHA1 in the case of pull requests.

The rationale is that I am building a tool which aggregates project event data (SCM events, CI systems build events), which currently supports Github and Travis CI. I would love to provide the same level of support on AppVeyor, but currently I have to call the Github API to handle the short SHA1 that AppVeyor hooks send, and to convert the merge commit SHA1 to the head SHA1 in the case of pull requests - I cannot rely solely upon the merge commit since it is not always present in Github payloads.

This would make my life so much easier :)

Thanks, regards,
-- JB.L

  1. 1 Posted by eric.hirlemann on 05 Jan, 2017 10:22 AM

    eric.hirlemann's Avatar

    This would unlock a couple of possible integrations, indeed.

  2. Ilya Finkelshteyn closed this discussion on 25 Aug, 2018 02:10 AM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts


? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac