-
Notifications
You must be signed in to change notification settings - Fork 509
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
BUG: github workflow actions not parsed right? #1500
Comments
Hash pins also help during incidence response in general: it help identify the commits at which your repo has run a malicious code. We warn for both GitHub-owned actions and third-party actions. In terms of score, we give 8 if all third-party actions are pinned by hash, and 10 if the GitHub-owned actions are also pinned by hash. Actions don't change very often, so updating the hash is not a real burden in practice. In order to be notified when a new version of an action is available, you can install a tool on your repo: this is checked and explained in the Does this clarify things? Is this something we need to improve in the documentation? |
I think something should be said, since in my experience |
The simplest way to find out the hash value would be to go to the release page and find the associated commit SHA: Hope that helps. Let me know if that fixes the issue. @laurentsimon @olivekl assigning to you both for now to track any documentation work that might be pending here. |
Thanks. I agree this is a doc bug. The doc should explain how to find the URLs. For some it's easier, as in all GitHub actions can be found in
so that I can fix that. |
in the doc https://github.com/ossf/scorecard/blob/main/docs/checks.md#pinned-dependencies in the
unfortunately, oss-fuzz does not release versions because of the way it's structured - integrations commit to head. cc @oliverchang @jonathanmetzman from OSS-Fuzz
|
Great, thank you. If you want me to open a separate issue for oss-fuzz (either here or somewhere else), let me know. I hope that gets fixed. |
@oliverchang and @jonathanmetzman have this on their roadmap to see what we can do. I suggest you create a tracking issue on the OSS-Fuzz repo and add a link to this Scorecard issue? Meanwhile, I'll close this issue. Please re-open if needed. Thanks again for reporting the problem! |
And yet the bug is closed? Shrug. Not a big deal, I was curious. |
Can you file a new issue for that specifically? Sorry, I forgot about the early part of the conversation. My bad! |
Describe the bug
I am seeing a warning on every line in .github/workflows/** that has
uses: actions/checkout@v2
I was running it on my local clone via
--local=openssl
flag.Reproduction steps
Look at the output for something like openssl.
Expected behavior
I don't expect to see warnings. Is the tool thinking the
@v2
is like a pinned hash?Or am I just wrong?
The text was updated successfully, but these errors were encountered: