-
Notifications
You must be signed in to change notification settings - Fork 60k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix and extend push webhook documentation. #499
Conversation
When setting up a webhook recently I found the objects in the commits array did not have an 'sha' element, but did have an 'id'.
Document the timestamp, added, modified and removed keys of the commit object.
Thanks for opening this pull request! A GitHub docs team member should be by to give feedback soon. In the meantime, please check out the contributing guidelines. |
Thanks so much for opening a PR @coling! I'll get this triaged for review ⚡ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks a lot for this, @coling! I'll get this merged in 🚀
Thanks very much for contributing! Your pull request has been merged 🎉 You should see your changes appear on the site in approximately 24 hours. |
Why:
I implemented a webhook to handle pushes but the payload was not the same as the docs. I found the commits had an id attribute rather than an sha one as per the docs.
What's being changed:
Check off the following: