Skip to content

ci: watch the action versions with dependabot - #28

Merged
Hugoer merged 1 commit into
mainfrom
ci/dependabot-github-actions
Sep 4, 2026
Merged

ci: watch the action versions with dependabot#28
Hugoer merged 1 commit into
mainfrom
ci/dependabot-github-actions

Conversation

@Hugoer

@Hugoer Hugoer commented Sep 4, 2026

Copy link
Copy Markdown
Owner

Closes #27.

#25 was found by reading a job log. Nothing watched the action versions pinned in .github/workflows/, so actions/checkout and actions/setup-node had gone a full major behind before a deprecation notice made it visible. This adds .github/dependabot.yml so the next one arrives as a PR instead.

Config choices

Setting Why
directory: / For the github-actions ecosystem this means the whole repository, and is what covers .github/workflows/. It is not a claim that workflows live at the root.
groups.actions.patterns: ['*'] One PR for all actions rather than one each. A quiet week opens none; a week where three actions cut releases still costs one review.
commit-message.prefix: ci Matches the conventional-commit style already in git log.
schedule.interval: weekly Frequent enough to catch a deprecation early; with grouping, the ceiling is one PR a week.

Behaviour changes

None in the package or in CI. This file is read by Dependabot on GitHub's side and by nothing in the build — no workflow, test, or published artifact reads it. The visible effect is future PRs authored by the bot.

Deliberately not included

The npm ecosystem. This repo pins a real dependency tree (lighthouse, puppeteer-core), and turning Dependabot loose on it is a separate decision about PR volume and lockfile churn — worth making on its own. It is a few lines in the same file whenever you want it.

Verification

The config parses to the expected shape (checked with js-yaml). npm run lint, npm test (594 passed), npm run generate-types and npm run check-types all pass, though none of them read this file. The real confirmation is GitHub's own: after merge, Insights -> Dependency graph -> Dependabot should list a github-actions entry with a last-checked timestamp and no config error. A malformed file surfaces there rather than failing a CI job, so it is worth a look once this lands.

The node20 runtime deprecation in #25 was found by reading a job log. Nothing
watched the action versions pinned in .github/workflows/, so they had gone a
full major behind before anything said so.

Every action is grouped into a single PR, so a quiet week opens none and a
week where three actions cut releases still costs one review. The commit
prefix matches the conventional-commit style already in the log.

Only the github-actions ecosystem. Pointing dependabot at npm is a separate
decision about PR volume and lockfile churn on a tree that includes lighthouse
and puppeteer-core, and it should be made on its own rather than as a side
effect of this.

Closes #27
@Hugoer
Hugoer merged commit 407d3c1 into main Sep 4, 2026
6 checks passed
@Hugoer
Hugoer deleted the ci/dependabot-github-actions branch September 4, 2026 08:28
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.

CI: no dependabot config, so action versions go stale silently

1 participant