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

support multiple directories and files #15

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

mattatcha
Copy link

fixes: directory only allows for one source, not multiple #13

fixes: `directory` only allows for one source, not multiple stackrox#13
@janisz janisz requested a review from msugakov June 8, 2022 09:36
Copy link
Collaborator

@janisz janisz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

action.yml Outdated Show resolved Hide resolved
@mattatcha mattatcha requested a review from janisz June 8, 2022 17:50
branding:
icon: 'check-circle'
color: 'green'
inputs:
directory:
description: 'Directory or file to scan'
description: 'Directories or files to scan separated by spaces'
Copy link
Collaborator

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?

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

Successfully merging this pull request may close these issues.

2 participants