mattallty / jest-github-action

Jest action adding checks with annotations to your pull requests and coverage table as comments
MIT License
150 stars 50 forks source link

Reporting to Github fails with > 50 errors #31

Open mporkola opened 3 years ago

mporkola commented 3 years ago

Sending test status to Github fails with

RequestError [HttpError]: Invalid request.

No more than 50 items are allowed; 51 were supplied.
    at /home/gha-actions-runner/_work/_actions/mattallty/jest-github-action/43bbcd073fa43a927322f188220b6592acae003b/dist/index.js:1:153339

when calling https://api.github.com/repos/<organisation>/<repository>/check-runs.

Here's an example of how another GH action solved the problem: https://github.com/Krizzu/eslint-check-action/pull/3

ppamorim commented 3 years ago

I am experiencing the same issue.