Skip to content

Conversation

@williamjallen
Copy link

Hash-pinned dependencies are an important requirement enforced by the OpenSSF scorecard tool: https://github.com/ossf/scorecard/blob/main/docs/checks.md#pinned-dependencies

This commit pins all GitHub Actions workflows to a commit hash.

@wkliao
Copy link
Member

wkliao commented Dec 12, 2025

Thanks. Could you please let me know how to obtain the GitHub action SHA,
so I can update it when a newer version is required in the future ?

@williamjallen
Copy link
Author

@wkliao I'd recommend using Dependabot to automatically create dependency update PRs for GitHub Actions. Dependabot can update the hash and comment.

Usage of a dependency-update tool is another of the OpenSSF scorecard metrics. Kitware has funding to help PESO member projects improve security by implementing the OpenSSF scorecard recommendations. If you're interested, I'd be happy to make a follow-up PR to add a Dependabot config to create update PRs for these actions automatically.

@williamjallen
Copy link
Author

@wkliao I see that you rebased my branch. Is there anything I need to do to get this merged at this point?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants