Skip to content

ci: have Dependabot track GitHub Actions versions - #275

Merged
dhensby merged 1 commit into
masterfrom
ci/dependabot-github-actions
Sep 3, 2026
Merged

ci: have Dependabot track GitHub Actions versions#275
dhensby merged 1 commit into
masterfrom
ci/dependabot-github-actions

Conversation

@dhensby

@dhensby dhensby commented Sep 3, 2026

Copy link
Copy Markdown
Collaborator

Problem

Dependabot was configured for npm only, so workflow action versions were never proposed for update. They had drifted to actions/checkout@v3 and actions/setup-node@v3 — far enough behind that GitHub was force-migrating them onto Node 24 and emitting a deprecation warning on every run:

Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/checkout@v3, actions/setup-node@v3.

#274 had to bump them by hand. This stops that recurring.

Change

Adds a github-actions ecosystem block, matching the convention already used in tediousjs/node-mssql, tediousjs/setup-sqlserver and dhensby/readable-tokens:

  - package-ecosystem: "github-actions"
    directory: "/"
    schedule:
      interval: "weekly"
    commit-message:
      prefix: "ci"
    groups:
      github-actions:
        patterns:
          - "*"

Two deliberate choices beyond the bare minimum:

  • Grouped (patterns: ["*"]) — action bumps arrive as one PR rather than one per action. With five uses: entries across the workflow, ungrouped updates would be noisy.
  • commit-message.prefix: "ci" — this repo lints commits with @commitlint/config-conventional and releases with semantic-release on the conventionalcommits preset. ci is a valid type and is non-releasable, so action bumps won't cut a version.

Verification

  • YAML parses, and the parsed structure has both ecosystems with the expected keys.
  • ci confirmed valid against the repo's commitlint.config (@commitlint/config-conventional) and non-releasable under the preset: conventionalcommits in .releaserc.
  • Diff is 10 added lines in .github/dependabot.yml; nothing else touched.

No action bumps are expected on the first run — #274 already moved everything to actions/checkout@v7 and actions/setup-node@v7, which are current.

Dependabot was only configured for npm, so workflow action versions were
never proposed for update. They had drifted to `actions/checkout@v3` and
`actions/setup-node@v3` — both far enough behind to be force-migrated onto
Node 24 with a deprecation warning on every run — and needed bumping by hand
in the previous commit.

Updates are grouped into a single PR rather than one per action, and use the
`ci` commit prefix so they satisfy commitlint and don't trigger a release
under the conventionalcommits preset.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@dhensby
dhensby merged commit bb5ef8d into master Sep 3, 2026
14 checks passed
@dhensby
dhensby deleted the ci/dependabot-github-actions branch September 3, 2026 11:37
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.

1 participant