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

report: github api limit for annotation counts #258

Closed
CarlJi opened this issue Jul 26, 2024 · 0 comments · Fixed by #293
Closed

report: github api limit for annotation counts #258

CarlJi opened this issue Jul 26, 2024 · 0 comments · Fixed by #293
Milestone

Comments

@CarlJi
Copy link
Contributor

CarlJi commented Jul 26, 2024

background:

2024/07/26 03:59:07.048679 [ERROR] internal/linters/github.go:168: create check run failed: POST https://api.github.com/repos/qbox/stack-hs/check-runs: 422 Invalid request.

No more than 50 items are allowed; 143 were supplied. []

Refer:

The Checks API limits the number of annotations to a maximum of 50 per API request. To create more than 50 annotations, you have to make multiple requests to the Update a check run endpoint. Each time you update the check run, annotations are appended to the list of annotations that already exist for the check run.
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

Successfully merging a pull request may close this issue.

1 participant