Skip to content

Reporting to Github fails with > 50 errors #31

@mporkola

Description

@mporkola

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: krizzu/eslint-check-action#3

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions