Updated the documentation on Github Actions to ensure pinned dependencies are kept updated. #874
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Dependabot has the capability to keep Github Actions updated, even when pinned to a specific commitsha rather than tag.
There are many formats that are allowed, but I've only provided a single example in the docs: https://github.com/dependabot/dependabot-core/blob/b4112ce4639d7eed1e3b2e0792eb7533f7cb125f/github_actions/spec/fixtures/workflow_files/pinned_sources_version_comments.yml#L7-L30
There doesn't appear to be good end-user facing documentation produced for dependabot on this feature, just the discussions on two PRs:
For actions that are pinned-by-hash, bump the human readable version number in the code comment dependabot/dependabot-core#4691 (to auto-update the comment if the commitsha is updated)
Thanks to @huwd for the headsup on this one.