-
Notifications
You must be signed in to change notification settings - Fork 62.5k
Update example with Octokit Checks API methods #3375
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
Conversation
Octokit supports creating and updating checks by using `create_check_run` and `update_check_run`: https://rdoc.info/gems/octokit/Octokit/Client/Checks
Thanks for opening this pull request! A GitHub docs team member should be by to give feedback soon. In the meantime, please check out the contributing guidelines. |
@matiasalbarello Thanks so much for opening a PR! I'll get this triaged for review ⚡ |
It looks like our new action inadvertently closed this 🙃 Sorry about that! Reopening and triaging this for review 💛 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for this update! I'll get it merged down for you.
Thanks very much for contributing! Your pull request has been merged 🎉 You should see your changes appear on the site in approximately 24 hours. If you're looking for your next contribution, check out our help wanted issues ⚡ |
Octokit supports creating and updating checks by using
create_check_run
andupdate_check_run
: https://rdoc.info/gems/octokit/Octokit/Client/ChecksWhy: the example is outdated and the cited gem now supports appropriated methods.
What's being changed: use
create_check_run
andupdate_check_run
of the used gem instead of post and patch to the API.Check off the following: