chore: Enable Dependabot for GitHub Actions - #209
Merged
Conversation
Closes #145 with the opposite of what it proposed, deliberately. That issue asked whether to pin actions to immutable commit SHAs. The decision is no. A SHA pin is unreadable without a trailing version comment and needs updating on every action release, which is a permanent cost to a volunteer project. The issue itself already noted that partial pinning buys nothing while the largest surface -- the shared workflow this repository calls -- sits in another repository entirely. Dependabot addresses the same staleness without the readability cost, and it is the prerequisite the issue identified for pinning ever being sustainable. The scope here is small on purpose. This repository's workflows reference only actions/checkout directly; everything else arrives through psake/.github's ModuleCI.yml, which gets its own configuration in psake/.github#11. The shared workflow is referenced by branch rather than by tag, so there is no version here for Dependabot to bump. requirements.psd1 is not covered. Dependabot has no PowerShell Gallery ecosystem, so the PSDepend pins stay manual. Closes #145 Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> 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.
Closes #145 — with the opposite of what that issue proposed, deliberately.
The decision
#145 asked whether to pin actions to immutable commit SHAs. No. A SHA pin is unreadable without a trailing
# v4.2.2comment and needs updating on every action release — a permanent cost to a volunteer project. The issue itself already observed that partial pinning buys nothing, and that the largest surface is not even in this repository:test.ymldelegates topsake/.github'sModuleCI.yml, which runs its own actions.Dependabot addresses the same staleness without the readability cost. It is also what #145 identified as the prerequisite for pinning ever being sustainable — so this is the half of that issue worth having.
Why the scope here is small
This repository's workflows reference only
actions/checkoutdirectly. Everything else arrives through the shared workflow, which references eight actions and gets its own configuration in psake/.github#11 — that is where the value is.The shared workflow is referenced as
@main, a branch rather than a tag, so there is no version here for Dependabot to bump.requirements.psd1is not covered: Dependabot has no PowerShell Gallery ecosystem, so the PSDepend pins stay manual.Grouped
One pull request per run rather than one per action. Eight separate weekly bumps is how a bot gets muted; these actions are not interdependent, so reviewing them together loses nothing.
🤖 Generated with Claude Code
https://claude.ai/code/session_01U1Jhu7fgTRJq7LK5MuKteE