Repository navigation
chore: Let Dependabot keep the shared workflows' actions current - #11
Merged
Merged
Conversation
The workflows here reference eight actions, and every psake module calling them inherits those versions, so a stale tag here is stale everywhere at once. Raised in psake/PowerShellBuild#145, which asked whether to pin actions to commit SHAs. The answer there was no: a SHA pin is unreadable without a trailing version comment and needs updating on every release, and the issue itself noted that partial pinning buys nothing while the shared workflow floats on a moving ref anyway. Dependabot addresses the same staleness with none of that cost. Grouped into one pull request per run rather than eight. These actions are not interdependent, so reviewing them together loses nothing, and a volunteer project should not face eight bumps a week. Co-Authored-By: Claude Opus 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01U1Jhu7fgTRJq7LK5MuKteE
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Enables Dependabot for the
github-actionsecosystem, weekly, grouped into a single pull request per run.This is where it matters: the workflows here reference eight actions, and every psake module calling them inherits those versions. A stale tag here is stale everywhere at once.
Why this rather than SHA pinning
psake/PowerShellBuild#145 asked whether to pin actions to immutable commit SHAs. The maintainer's decision is no, and Dependabot instead.
A SHA pin is unreadable without a trailing
# v4.2.2comment and needs updating on every action release — a maintenance cost a volunteer project pays forever. That issue also observed that partial pinning buys nothing, and the largest surface was never in the calling repository anyway. Dependabot addresses the same staleness without the cost, and keeps the workflow readable.Grouped deliberately
groups: { github-actions: { patterns: ["*"] } }produces one pull request per run rather than eight. These actions are not interdependent, so reviewing them together loses nothing, and eight separate weekly bumps is how a bot gets muted.🤖 Generated with Claude Code
https://claude.ai/code/session_01U1Jhu7fgTRJq7LK5MuKteE