-
Notifications
You must be signed in to change notification settings - Fork 22
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
Support Checks API #15
Comments
Interesting, I haven't used them before. I guess you mean that the different issues shouldn't be posted as comments but instead for a "fix this" option to be displayed at the end of the run? Two questions. If a user clicks in the "fix" button:
|
The issues show up as an annotation as opposed to a comment (but both are rendered inline in the code). So I think the main benefit is for a code review with a lot of (automated) annotations and (manual) reviewer comments, you can hide one category and keep the other visible. And then as you mentioned, there is a single fix button instead of manually having to accept many suggestions. I did some Googling and found a couple repos which are examples of triggering annotations from GH Actions, although I haven't tested them:
Yes, you should be able to have an annotation.
This is a good point. I assume users have tuned their configuration to have minimal false positives. Then I think the workflow would be to ask them to add |
It would be cool if instead of regular comments, the fixes could be suggested as part of the Checks API.
There's a more informative picture here: https://docs.github.com/en/developers/apps/guides/creating-ci-tests-with-the-checks-api#step-25-updating-the-check-run-with-ci-test-results
The text was updated successfully, but these errors were encountered: