Skip to content

Change PushEvent.Pusher type to CommitAuthor - #2999

Merged
gmlewis merged 2 commits into
google:masterfrom
caseyduquettesc:fix-pusher
Nov 30, 2023
Merged

Change PushEvent.Pusher type to CommitAuthor#2999
gmlewis merged 2 commits into
google:masterfrom
caseyduquettesc:fix-pusher

Conversation

@caseyduquettesc

Copy link
Copy Markdown
Contributor

Fixes#2998

CommitAuthor currently has the exact fields that the push event's Pusher provides and is more correct than using User for the reasons laid out in the linked issue.

image

@codecov

codecovBot commented Nov 23, 2023

Copy link
Copy Markdown

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (942692e) 97.93% compared to head (fbbb43c) 97.93%.

Additional details and impacted files
@@ Coverage Diff @@## master #2999 +/- ##
=======================================
Coverage 97.93% 97.93% =======================================
Files 150 150 Lines 12952 12952 =======================================
Hits 12685 12685 Misses 190 190 Partials 77 77 

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@gmlewisgmlewis added NeedsReview PR is awaiting a review before merging. Breaking API Change PR will require a bump to the major version num in next release. Look here to see the change(s). labels Nov 24, 2023

@gmlewisgmlewis left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Thank you, @caseyduquettesc !
LGTM.

Awaiting second LGTM+Approval from any other contributor to this repo before merging.

@valbeatvalbeat left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM!

@gmlewisgmlewis removed the NeedsReview PR is awaiting a review before merging. label Nov 30, 2023
@gmlewis

Copy link
Copy Markdown
Collaborator

Thank you, @valbeat !
Merging.

@gmlewis
gmlewis merged commit 50d4db2 into google:masterNov 30, 2023
gmlewis pushed a commit to o-sama/go-github that referenced this pull request Dec 19, 2023
jlaportebot added a commit to jlaportebot/go-github that referenced this pull request Jun 28, 2026
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Breaking API ChangePR will require a bump to the major version num in next release. Look here to see the change(s).

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Push event's Pusher is not the correct type

3 participants

@caseyduquettesc@gmlewis@valbeat