Skip to content
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

Standardize hashes and version comments in workflows #838

Merged
merged 1 commit into from
Dec 15, 2023

Conversation

kurtmckee
Copy link
Contributor

Closes #837

Summary

While looking at the workflow files I noticed that some actions used versions and others used hashes. I also observed that some actions (like actions/checkout in several places) had incorrect version comments (claiming that hash X was v3.3.0, which was incorrect).

If the version comment is incorrect, Dependabot fails to update it in its PRs. This is evident in a Dependabot PR that is currently open: #836 fails to update the version comment in scorecards-analysis.yml.

I think that I've followed the contributing guidelines, including opening an issue, linking this PR to that issue, and signing-off the git commit, but please let me know if anything needs to be addressed, or if anything in this PR needs to be addressed. Thanks!

Release Note

N/A

Documentation

N/A

Signed-off-by: Kurt McKee <contactme@kurtmckee.org>
Copy link
Member

@woodruffw woodruffw left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thank you @kurtmckee!

That dependabot auto-update bug is pretty annoying 🙂

@woodruffw
Copy link
Member

/gcbrun

@woodruffw
Copy link
Member

Manually confirmed that all changed hashes are correct.

@woodruffw woodruffw enabled auto-merge (squash) December 15, 2023 03:18
@woodruffw woodruffw merged commit 0883808 into sigstore:main Dec 15, 2023
23 checks passed
@kurtmckee kurtmckee deleted the standardize-hash-usage branch December 15, 2023 13:10
@kurtmckee
Copy link
Contributor Author

You're welcome! And thank you for double-checking the hashes! 🥳

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.

Actions inconsistently use hashes, and have incorrect version comment
2 participants