Improve error messaging on the 300 file git diff limit for triggering actions #53831
-
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 2 replies
-
|
The filter is clearly GitHub protecting itself from doing expensive work. You can remove the filter from |
Beta Was this translation helpful? Give feedback.
-
|
Hey, I currently just faced the same issue in my GitHub action for a monorepo. How did you circumvent this? |
Beta Was this translation helpful? Give feedback.
-
|
@nipunn1313 I've reorganized the docs describing the limits to filter diffs after we recently made some improvements. The limit for number of files per diff is now 3000, up from 300. Hopefully the behavior is clearer now. Unfortunately we can't do a lot about the error messages on workflows themselves, because as @jsoref mentioned, we are protecting our platform from expensive diff calculations. So when we get the 3000-file diff back, we can't know which files would have run if the diff were unlimited because that would require us to calculate the whole diff anyways. |
Beta Was this translation helpful? Give feedback.


@nipunn1313 I've reorganized the docs describing the limits to filter diffs after we recently made some improvements. The limit for number of files per diff is now 3000, up from 300. Hopefully the behavior is clearer now.
Unfortunately we can't do a lot about the error messages on workflows themselves, because as @jsoref mentioned, we are protecting our platform from expensive diff calculations. So when we get the 3000-file diff back, we can't know which files would have run if the diff were unlimited because that would require us to calculate the whole diff anyways.