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

Remove HeadSHA parameter from UpdateCheckRunOptions #1658

Merged
merged 2 commits into from
Dec 2, 2020

Conversation

ishanupadhyay
Copy link
Contributor

@ishanupadhyay ishanupadhyay commented Dec 2, 2020

This PR is regarding issue 1652. head_sha is no longer supported as a parameter in case of updating a check run. Therefore it is being removed from type UpdateCheckRunOptions in this PR.

Fixes #1652.

@google-cla google-cla bot added the cla: yes Indication that the PR author has signed a Google Contributor License Agreement. label Dec 2, 2020
@codecov
Copy link

codecov bot commented Dec 2, 2020

Codecov Report

Merging #1658 (7ef0c2a) into master (b02f47a) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #1658   +/-   ##
=======================================
  Coverage   70.01%   70.01%           
=======================================
  Files          97       97           
  Lines        6340     6340           
=======================================
  Hits         4439     4439           
  Misses        985      985           
  Partials      916      916           
Impacted Files Coverage Δ
github/checks.go 54.54% <ø> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update b02f47a...7ef0c2a. Read the comment docs.

@ishanupadhyay
Copy link
Contributor Author

@gmlewis can you please review this PR ?

@gmlewis gmlewis added the Breaking API Change PR will require a bump to the major version num in next release. Look here to see the change(s). label Dec 2, 2020
@gmlewis gmlewis changed the title removed head_sha parameter in update check run Remove HeadSHA parameter from UpdateCheckRunOptions Dec 2, 2020
@gmlewis
Copy link
Collaborator

gmlewis commented Dec 2, 2020

Note that this PR is a breaking API change, so I've added the label to keep track.

Copy link
Collaborator

@gmlewis gmlewis left a comment

Choose a reason for hiding this comment

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

Thank you, @ishanupadhyay!
LGTM.

Awaiting second LGTM before merging.

@gmlewis gmlewis requested a review from wesleimp December 2, 2020 15:29
@gmlewis
Copy link
Collaborator

gmlewis commented Dec 2, 2020

@erikkn - it would be nice to get all breaking changes into the next major release (v33.0.0) so that we don't have to bump the major version more often than necessary. If you feel like reviewing this PR, that would be greatly appreciated.

Copy link
Contributor

@erikkn erikkn left a comment

Choose a reason for hiding this comment

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

We are aware of the breaking API change, so LGTM.

@gmlewis
Copy link
Collaborator

gmlewis commented Dec 2, 2020

Thank you, @erikkn !
Merging.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Breaking API Change PR will require a bump to the major version num in next release. Look here to see the change(s). cla: yes Indication that the PR author has signed a Google Contributor License Agreement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Update Check Run HeadSHA
3 participants