github-api icon indicating copy to clipboard operation
github-api copied to clipboard

Adding support for rerequesting check-suites/check runs

Open xocasdashdash opened this issue 2 years ago • 0 comments

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

xocasdashdash avatar Jun 01 '22 21:06 xocasdashdash