github-api
github-api copied to clipboard
Adding support for rerequesting check-suites/check runs
So for a project i want to be able to rerun a checksuite that another app already configured (something like travis/jenkins app).
I see that github's API supports this:
- https://docs.github.com/en/rest/checks/runs#rerequest-a-check-run
- https://docs.github.com/en/rest/checks/suites#rerequest-a-check-suite
But i haven't been able to find how to do that with this library. Is this supported? I'd love to add these two calls (seems like it should be a couple of POST requests) but I might struggle with testing. Is there any example of adding support for something like this?
Let me know if I missed something and this is actually possible with this library, I've checked on the GHCheckSuite and GHCheckRun classes