Skip to content

[feat]: Adding missing properties to PushEventPayload#2795

Merged
nickfloyd merged 2 commits intooctokit:mainfrom
michaeljolley:pusheventpayload-before
Oct 9, 2023
Merged

[feat]: Adding missing properties to PushEventPayload#2795
nickfloyd merged 2 commits intooctokit:mainfrom
michaeljolley:pusheventpayload-before

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 ❤️

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