Skip to content
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

List of check runs configurations #2926

Open
MytsYurii opened this issue Sep 12, 2023 · 4 comments
Open

List of check runs configurations #2926

MytsYurii opened this issue Sep 12, 2023 · 4 comments

Comments

@MytsYurii
Copy link

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.

@MytsYurii
Copy link
Author

@WillAbides, check it out please

@MytsYurii
Copy link
Author

@gabriel-samfira

@MytsYurii
Copy link
Author

@willnorris, @sagar23sj, @dmitshur . Can you give me some answer on that? without code details, just the logic if it is possible.

@WillAbides
Copy link
Contributor

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants