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

Add version comments to SHA-pinned GitHub Actions #116

Merged
merged 1 commit into from
Aug 29, 2023
Merged

Conversation

felddy
Copy link
Owner

@felddy felddy commented Aug 29, 2023

🗣 Description

Using hash-pinned actions is a best practice. But it it hard to know what version is pinned without a comment.
When dependabot makes a PR to update the dependency the user needed to update the comment to match.
Now dependabot can do this!

It will only make the change if the version mentioned in the comment matches the version of the hash being changed.

This PR adds version comments, or updates outdated comments to match the current hashes. This should allow
dependabot to start doing its magic.

💭 Motivation and context

See:

@felddy felddy self-assigned this Aug 29, 2023
@felddy felddy enabled auto-merge August 29, 2023 22:48
@felddy felddy merged commit 5660c7a into develop Aug 29, 2023
@felddy felddy deleted the sync-hashes branch August 29, 2023 22:49
@felddy felddy restored the sync-hashes branch September 1, 2023 23:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant