You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We have started to see failures on CI within the last month or so when running this for PRs that have more than 300 files diff.
Here's the error log:
GET https://api.github.com/repos/procore/android/pulls/18757: 406 - Sorry, the diff exceeded the maximum number of files (300). Consider using 'List pull requests files' API or locally cloning the repository instead. (Octokit::NotAcceptable)
Error summary:
resource: PullRequest
field: diff
code: too_large // See: https://docs.github.com/rest/pulls/pulls#list-pull-requests-files
What did you expect to happen?
Danger runs successfully on PRs with diff of over 300 files.
What happened instead?
Danger fails with error (see above)
Your Environment
Which CI are you running on? - CircleCI
Are you running the latest version of Danger? - Yes, we are on danger 9.4.3
What is your Dangerfile?
# we are checking all our modified & added files(git.modified_files + git.added_files).eachdo |file|
...
The text was updated successfully, but these errors were encountered:
Report
What did you do?
We are running a custom danger file on PR diff:
We have started to see failures on CI within the last month or so when running this for PRs that have more than 300 files diff.
Here's the error log:
What did you expect to happen?
Danger runs successfully on PRs with diff of over 300 files.
What happened instead?
Danger fails with error (see above)
Your Environment
Which CI are you running on? - CircleCI
Are you running the latest version of Danger? - Yes, we are on
danger 9.4.3
What is your Dangerfile?
The text was updated successfully, but these errors were encountered: