ArtiomTr / jest-coverage-report-action

Track your code coverage in every pull request.
https://www.covbot.dev
MIT License
499 stars 143 forks source link

HttpError: The diff exceeded the maximum number of files (300). #430

Closed aromko closed 2 months ago

aromko commented 3 months ago

Describe a bug

Hey,

I've made a prettier change which affects ~420 files. Now the coverage report fails with error:

Error: HttpError: Sorry, the diff exceeded the maximum number of files (300). Consider using 'List pull requests files' API or locally cloning the repository instead.: {"resource":"PullRequest","field":"diff","code":"too_large"}

How can I fix this?

Thanks in advance

Expected behavior

Job shouldn't fail.

Details

morganney commented 2 months ago

Maybe add an option to not fail the run if more than 300 files.