Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
Update Check Run HeadSHA #1652
Update Check Run HeadSHA #1652
Comments
Related: google/go-github#1652 Signed-off-by: Adrian Orive <adrian.orive.oneca@gmail.com>
Related: google/go-github#1652 Signed-off-by: Adrian Orive <adrian.orive.oneca@gmail.com>
|
As far as I can tell from the official documentation: https://docs.github.com/en/free-pro-team@latest/rest/reference/checks#update-a-check-run You may wish to contact GitHub technical support and ask them the same question. |
|
+1 to removing |
Related: google/go-github#1652 Signed-off-by: Adrian Orive <adrian.orive.oneca@gmail.com>
|
The other fields should be verified as well as part of addressing this issue. This would be a great PR for any new contributor to this repo or a new Go developer. Feel free to volunteer for any issue and the issue can be assigned to you so that others don't attempt to duplicate the work. Please check out our CONTRIBUTING.md guide to get started. Thank you! |
go-github/github/checks.go
Lines 175 to 186 in 1ff2714
Despite having an optional
HeadSHAfield, if you update this to a different commit hash it won't be updated.We have some Check Runs that are PR-oriented and not commit-oriented and we were trying to use this field to rebind the Check Runs to the head commit of a PR on
synchronize.Is this a bug?