ci: also auto-update GitHub Actions via Dependabot#119
Conversation
Add a github-actions ecosystem to the Dependabot config so pinned action versions (actions/checkout, setup-r, quarto-actions, etc.) get bumped automatically alongside the macros submodule (per reviewer suggestion). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01DrceBhXtcKRFaPPEMwxAZN
|
Claude finished @d-morrison's task in 1m 33s —— View job Code Review
Config is correct and well-formed. The Pre-existing issue this PR will partially resolve: Pre-existing issue Dependabot won't resolve: One optional improvement posted as an inline suggestion (line 26): add a Otherwise the PR is clean — nothing blocking. |
There was a problem hiding this comment.
Pull request overview
This PR extends the template’s Dependabot configuration to also track GitHub Actions updates, so downstream books generated from the template can keep workflow action pins current automatically.
Changes:
- Adds a
github-actionsDependabot ecosystem entry (weekly) to update pinned action versions in.github/workflows/. - Customizes commit message prefixes for action bumps (
chore(actions)) alongside existing submodule bumps (chore(submodule)).
| schedule: | ||
| interval: "weekly" | ||
| commit-message: | ||
| prefix: "chore(actions)" |
There was a problem hiding this comment.
Consider adding a groups key to bundle all action bumps into a single weekly PR rather than one per action. With ~8 pinned actions in .github/workflows/, the initial Dependabot run could open 5+ PRs simultaneously (default open-pull-requests-limit is 5). Grouping keeps the noise down:
| prefix: "chore(actions)" | |
| commit-message: | |
| prefix: "chore(actions)" | |
| groups: | |
| github-actions: | |
| patterns: | |
| - "*" |
Not a blocker — just a quality-of-life suggestion.
|
Summary
Follow-up to the merged Dependabot submodule PR (#117). Adds a second Dependabot ecosystem,
github-actions, so pinned action versions in.github/workflows/(e.g.actions/checkout,r-lib/actions/*,quarto-dev/quarto-actions/*) get bumped automatically too — including resolving the mixedactions/checkout@v4/@v5pins a reviewer noted.Because this is a template, the config propagates to books generated from it.
Config
Weekly cadence; unversioned
@HEAD/@mainpins are left untouched by Dependabot.🤖 Generated with Claude Code
https://claude.ai/code/session_01DrceBhXtcKRFaPPEMwxAZN
Generated by Claude Code