Skip to content

chore: Enable Dependabot for GitHub Actions - #209

Merged
tablackburn merged 1 commit into
mainfrom
chore/enable-dependabot-actions
Aug 28, 2026
Merged

chore: Enable Dependabot for GitHub Actions#209
tablackburn merged 1 commit into
mainfrom
chore/enable-dependabot-actions

Conversation

@tablackburn

Copy link
Copy Markdown
Contributor

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.2 comment 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.yml delegates to psake/.github's ModuleCI.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/checkout directly. 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.psd1 is 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

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
Copilot AI lite review requested due to automatic review settings August 28, 2026 20:00

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@github-actions

Copy link
Copy Markdown

Test Results

    4 files  ±0    881 suites  ±0   2m 37s ⏱️ -1s
  590 tests ±0    587 ✅ ±0   3 💤 ±0  0 ❌ ±0 
2 343 runs  ±0  2 271 ✅ ±0  72 💤 ±0  0 ❌ ±0 

Results for commit 490b5dd. ± Comparison against base commit b764fbb.

@tablackburn
tablackburn merged commit 484f24f into main Aug 28, 2026
9 checks passed
@tablackburn
tablackburn deleted the chore/enable-dependabot-actions branch August 28, 2026 20:26
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.

Consider pinning GitHub Actions to commit SHAs instead of moving tags

2 participants