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

Ignore specific files? #58

Closed
bi1yeu opened this issue Apr 1, 2022 · 0 comments · Fixed by #59
Closed

Ignore specific files? #58

bi1yeu opened this issue Apr 1, 2022 · 0 comments · Fixed by #59
Labels
bug Something isn't working

Comments

@bi1yeu
Copy link
Contributor

bi1yeu commented Apr 1, 2022

Describe the issue

Hi! I am trying to configure the ShellCheck Action to ignore specific files at specific paths. E.g. if I have a project structure like

└── examples
    └── bad.sh

I would like to ignore ./examples/bad.sh. It seems I can use ignore_paths to ignore everything under examples, or ignore_names to ignore any files called bad.sh, but it's not clear how to ignore files at specific paths. This is problematic if I have directories with some files to ignore, or file names to ignore, but only in certain directories:

├── examples
│   ├── bad.sh
│   └── good.sh
└── good_examples
    └── bad.sh

I'm not familiar with GitHub Actions, and though I skimmed the code, I couldn't figure out whether this was supported or not. I tried various configurations, but none seemed to work the way I wanted. This might be a feature request instead of a bug. Any help or advice is appreciated, thanks!

Links

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant