-
Notifications
You must be signed in to change notification settings - Fork 496
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
Feature: output to file #2619
Comments
This is something that github.com/ossf/scorecard-action also needs a workaround for: I'm personally in support of a Currently if you do
Seeing as you're using |
+1 here |
Hi there! I believe #3192 ended up getting stale and closed and not solving the problem here or in #3191. I can reopen the PR addressing the changes, Spencer. One thing I would change on the approach tho, is to keep the |
I'm not sure I follow. I would expect flags to do one thing:
You're advocating for some sort of |
I meant what you said haha. I will open a draft PR, I'm still working on the tests. |
Is your feature request related to a problem? Please describe.
When running the scorecard docker container in a CI system it would be great if there was an option to write the output to a file.
This way we can avoid having to
tee
the results out and thus running scorecard in a shell.Describe the solution you'd like
add a
-o
option that makes scorecard write the results to the file/path specified by-o
Describe alternatives you've considered
A current workaround is to redirect scorecard's output to a file or wrap it in a script that provides this -o functionality but in both those cases scorecard is not running in a minimal container anymore
Additional context
This sounds like a small change and I would be happy to send you a pull request if you're interested in this feature and can point me to the correct files/dirs that need changing.
The text was updated successfully, but these errors were encountered: