List of check runs configurations
we are collecting the check runs for each PR, by using next API: client.Checks.ListCheckRunsForRef and ref as PR. is it possible to collect check runs configuration? For example: is it required manual approval for this check, it is allowed to failed, the yaml code for this check as well.
@WillAbides, check it out please
@gabriel-samfira
@willnorris, @sagar23sj, @dmitshur . Can you give me some answer on that? without code details, just the logic if it is possible.
I'm not aware of any way to do that, and I don't think there will be a direct link between the two because checks aren't directly connected to workflow runs.
Generally it is probably more productive to get answers about what you can do with the GitHub API from either the docs or GitHub community discussions. Once you have that, this is where you come to figure out how to use go-github to make the API requests you need.