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

[feat]: Adding missing properties to PushEventPayload #2795

Merged
merged 2 commits into from
Oct 9, 2023

Conversation

michaeljolley
Copy link
Contributor

Resolves #2720


Before the change?

The PushEventPayload class was missing the before, distinct_size, and push_id properties documented at https://docs.github.com/en/webhooks-and-events/events/github-event-types#pushevent

After the change?

Those three properties are added to the PushEventPayload class as DistinctSize, PushId, and Before.

Pull request checklist

  • Tests for the changes have been added (for bug fixes / features)
  • Docs have been reviewed and added / updated if needed (for bug fixes / features)

Does this introduce a breaking change?

Please see our docs on breaking changes to help!

  • Yes
  • No

@nickfloyd nickfloyd added the Type: Feature New feature or request label Oct 9, 2023
@nickfloyd nickfloyd changed the title Adding missing properties to PushEventPayload [feat]: Adding missing properties to PushEventPayload Oct 9, 2023
@nickfloyd nickfloyd added the hacktoberfest Issues for participation in Hacktoberfest label Oct 9, 2023
Copy link
Contributor

@nickfloyd nickfloyd left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for doing this as well ❤️

@nickfloyd nickfloyd merged commit 7b3abda into octokit:main Oct 9, 2023
@michaeljolley michaeljolley deleted the pusheventpayload-before branch October 9, 2023 20:45
mitchcapper added a commit to mitchcapper/octokit.net that referenced this pull request Jan 3, 2024
mitchcapper added a commit to mitchcapper/octokit.net that referenced this pull request Jan 3, 2024
nickfloyd added a commit that referenced this pull request Jan 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
hacktoberfest Issues for participation in Hacktoberfest Type: Feature New feature or request
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

[FEAT]: Add the before property to PushEventPayload
2 participants