Open loganbest opened 4 months ago
@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 https://github.com/actions/runner-images/issues/10009
It seems to be the impact of https://github.com/actions/runner-images/issues/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
Is that a blocker for this PR given everything else passes and it's a trivial change?
It's not a blocker. I'm fine to include your change. Thanks!
Can you add a test case? https://github.com/reviewdog/action-trivy/blob/main/.github/workflows/tests.yml
Is that a blocker for this PR given everything else passes and it's a trivial change?
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.
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. Maybe if trivy_command=config, it works but it won't work with filesystem?
I found that trivy already supports filesystem
command. fs
command is still supported so I added the test: https://github.com/reviewdog/action-trivy/pull/35/commits/53cc527a5837e45b62fd88040635d6fdf25551f0
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: