The report directory is commited when not in .gitignore #490
Labels
bug
Something isn't working
O: stale 🤖
This issue or pull request is stale, it will be closed if there is no activity
Describe the bug
The report directory is committed with fixes if it is not in the .gitignore, i.e., the commit to the PR has all the files from the report.
To Reproduce
In a (new) project, enable APPLY_FIXES, but do not add report directory to .gitignore. Make a change which triggers auto fixes.
Expected behavior
Since Mega-Linter knows that it generates the directory, it should not add it or alternatively, it could enforce adding it to .gitignore if APPLY_FIXES is enabled by applying a fix to .gitignore.
Additional context
Workaround is clear, either disable APPLY_FIXES or add report directory to your .gitignore.
The text was updated successfully, but these errors were encountered: