-
-
Notifications
You must be signed in to change notification settings - Fork 8
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
reordering trivy command #51
base: main
Are you sure you want to change the base?
Conversation
@haya14busa @shogo82148 I'm not sure how to fix the Windows check that's failing. Any ideas on what I can do there? |
It seems to be the impact of actions/runner-images#10009 |
Is that a blocker for this PR given everything else passes and it's a trivial change? |
Can you add a test case? https://github.com/reviewdog/action-trivy/blob/main/.github/workflows/tests.yml
It's not a blocker. I'm fine to include your change. Thanks! |
What am I writing a test case for exactly? The only valid thing I can think of is to check return codes which there's already a test case for, and I'm surprised didn't catch this previously since that's all that was returned this error. |
Me too. That's why I'm asking adding a test case which should fail without this pr change. |
I found that trivy already supports |
I'm using this command
and the action is erroring with the following:
When running that trivy command locally I get a fatal error due to argument order:
After reordering the command this is the cleaned and proper output: