-
Notifications
You must be signed in to change notification settings - Fork 224
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
Upload GitHub Dependency Snapshot been skipped when passing exit-code parameter #232
Comments
Try enhanced #233 |
Sorry but I don't understand what's the motivation and the desired goal here. Could you help me to better understand what you are looking to achieve? |
Hey @simar7 Problem is when pass My idea is to temporarily turn off script fail when executing scan, to ensure upload successfully. |
Got it. Thanks for explaining. But will this change now result in a workflow that will pass rather than fail (as non zero exit code)? Trivy action should fail if there's a problem, either vulnerability, misconfig, etc. But what you have said is also a legitimate request that I think we should handle differently, rather than passing the workflow. Thoughts? |
I see, I understand now. Thanks for explaining. |
Closed with #233 |
Workflow settings:
If remove
exit-code: '1'
we can see upload successfully.The text was updated successfully, but these errors were encountered: