git icon indicating copy to clipboard operation
git copied to clipboard

MaxBufferError

Open ghost opened this issue 5 years ago • 1 comments

Hi :)

we are using the @semantic-release/git plugin in a huge monorepo managed by LERNA(https://github.com/lerna/lerna). With the latest package we added to this monorepo we are encountered a MaxBufferError from your plugin which mainly comes from this "Feature": https://github.com/semantic-release/git/commit/05ab305a380abf6a76aaa81aea0c8fc12fa22782 - or with this configuration on getModifiedFiles() => git -o flag.

Would it be possible to add another configuration target where we could force to use .gitignore or just ignore it, like:

assets: [], message: "", gitignore : false

BR topfblumen

ghost avatar Apr 23 '21 07:04 ghost

I have a similar issue with a large mono-repo that uses pnpm. The logs look like it was listing up all files in all node_modules directories, although they are ignored through .gitignore.

Had to disable the plugin for now as it keeps blocking the pipeline.

sdielmann avatar May 27 '25 09:05 sdielmann