-
Notifications
You must be signed in to change notification settings - Fork 26
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
support multiple directories and files #15
base: main
Are you sure you want to change the base?
Conversation
fixes: `directory` only allows for one source, not multiple stackrox#13
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you add a test for this change https://github.com/stackrox/kube-linter-action/blob/main/.github/workflows/self-test.yml
branding: | ||
icon: 'check-circle' | ||
color: 'green' | ||
inputs: | ||
directory: | ||
description: 'Directory or file to scan' | ||
description: 'Directories or files to scan separated by spaces' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
On one hand I like this simple approach of accepting space separated list of dirs but on the other the more natural for yaml will be an array. Can we accept array and us jq to parse it? Does it make sense?
fixes:
directory
only allows for one source, not multiple #13