.nx/
makes all-contributors plugin think info has changed, crashes pipeline
#2457
Labels
bug
Something isn't working
Describe the bug
I am unable to find any mentions of
nx
in this repo (the private repo this is failing on doesn't usenx
), but for some reason, a.nx/
folder is being added when I useyarn auto shipit -vv
on ourmaster
branch, which runs the all-contributors plugin. As far as I can tell, it's not coming from our end, because we don't usenx
AND we rungit reset --hard
right before callingauto
.Re: this discussion, when working with
nx
>= 17, the.nx/
folder has been moved fromnode_modules/.cache
to the workspace root. This is causingchangedFiles
in the code below to be true, which makes the plugin think that the README and .all-contributorsrc have been updated. The plugin tries to commit these files and errors out because those files actually have not changed.auto/plugins/all-contributors/src/index.ts
Lines 360 to 366 in 335fadb
Here is the error shown with `-vv`
To Reproduce
I will try to reproduce this with a small repo. TBD.
Expected behavior
I expect
auto
to:shipit
is called onmaster
Environment information:
Additional Context
.nx/
to our.gitignore
..nx/
in the repo this issue was discovered on, so not sure where it's coming frommaster
but not for other branches. I didn't testnext
The text was updated successfully, but these errors were encountered: