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

Make mindev ignore non-ruletype files when linting #4819

Open
eleftherias opened this issue Oct 24, 2024 · 0 comments
Open

Make mindev ignore non-ruletype files when linting #4819

eleftherias opened this issue Oct 24, 2024 · 0 comments

Comments

@eleftherias
Copy link
Contributor

When running mindev ruletype lint with a directory that contains files that aren't all ruletypes, then we get a lint error.

Example: https://github.com/mindersec/minder-rules-and-profiles/actions/runs/11493697079/job/31989853641

We should update the linter to ignore ruletypes that it can't apply, if it's given a directory.
See #4798 for similar code changes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants