Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The report directory is commited when not in .gitignore #490

Closed
wenzeslaus opened this issue May 28, 2021 · 1 comment
Closed

The report directory is commited when not in .gitignore #490

wenzeslaus opened this issue May 28, 2021 · 1 comment
Labels
bug Something isn't working O: stale 🤖 This issue or pull request is stale, it will be closed if there is no activity

Comments

@wenzeslaus
Copy link

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.

@wenzeslaus wenzeslaus added the bug Something isn't working label May 28, 2021
@github-actions
Copy link
Contributor

This issue has been automatically marked as stale because it has not had recent activity.
It will be closed in 14 days if no further activity occurs.
Thank you for your contributions.

If you think this issue should stay open, please remove the O: stale 🤖 label or comment on the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working O: stale 🤖 This issue or pull request is stale, it will be closed if there is no activity
Projects
None yet
Development

No branches or pull requests

1 participant