Details
-
Bug
-
Resolution: Fixed
-
Medium
Description
With webhooks configured with Pull Request trigger (merged), the payload sent in the webhook request contains the commit hash in short. It does not contain the full commit hash.
When using codebuild to trigger a build, codebuild is expecting a full commit hash but the pull request webhook event is sending the short commit hash instead. This results in failure in codebuild .
Could webhooks send the payload with full commit hash for pull request events as well?
Sample as below.
X-Event-Key pullrequest:fulfilled
"title": "test_PR_WEBHOOK", "close_source_branch": false, "reviewers": [], "id": 34, "destination": { "commit": { "hash": "6fdb0a3bb132", "links": { "self": {