Skip to content
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

Merged
merged 3 commits into from
Oct 20, 2020
Merged

Conversation

coling
Copy link
Contributor

@coling coling commented Oct 13, 2020

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:

image

Check off the following:

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.
@welcome
Copy link

welcome bot commented Oct 13, 2020

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.

@janiceilene
Copy link
Contributor

Thanks so much for opening a PR @coling! I'll get this triaged for review ⚡

@janiceilene janiceilene added content This issue or pull request belongs to the Docs Content team ecosystem This issue or pull request should be reviewed by the Docs Ecosystem team labels Oct 14, 2020
@lucascosti lucascosti self-assigned this Oct 20, 2020
Copy link
Contributor

@lucascosti lucascosti left a 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 🚀

@lucascosti lucascosti merged commit acec423 into github:main Oct 20, 2020
@github-actions
Copy link
Contributor

Thanks very much for contributing! Your pull request has been merged 🎉 You should see your changes appear on the site in approximately 24 hours.

@coling coling deleted the patch-1 branch October 20, 2020 13:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
content This issue or pull request belongs to the Docs Content team ecosystem This issue or pull request should be reviewed by the Docs Ecosystem team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants