Skip to content

ci: add dependabot for npm and github actions - #4

Merged
mschmicking merged 1 commit into
masterfrom
ci-dependabot
Aug 7, 2026
Merged

ci: add dependabot for npm and github actions#4
mschmicking merged 1 commit into
masterfrom
ci-dependabot

Conversation

@mschmicking

Copy link
Copy Markdown
Owner

Adds .github/dependabot.yml covering the npm dependency and the pinned action versions in the five workflows, weekly.

You could not commit this from the GitHub UI because it insists on writing to the default branch and master is protected — hence this PR.

The part that matters

pr-title.yml requires Conventional Commits, and Dependabot's default PR title is Bump x from 1 to 2 — no type, so every Dependabot PR would fail the check and be unmergeable. The commit-message settings produce chore(deps): ... instead, which satisfies it (chore is an allowed type, deps an allowed scope).

Simulated against the actual rules in pr-title.yml:

PASS  chore(deps): bump node-addon-api from 8.9.1 to 8.10.0
PASS  chore(deps): bump the actions-minor-and-patch group with 2 updates
FAIL  Bump node-addon-api from 8.9.1 to 8.10.0      <- the default

The two files are coupled: if the scope list in pr-title.yml ever changes, this needs to change with it. Noted in a comment at the top of the config.

Choices

  • Minor/patch grouped into one PR per ecosystem. With a single runtime dependency and five workflow files, ungrouped updates would be mostly noise.
  • Majors left ungrouped. node-addon-api is the C++ binding layer; a major there can break compilation on one platform and not another, so it should get its own PR and its own full matrix run.
  • vendor/ deliberately not covered. Dependabot has no ecosystem for copied-in C source, and Lua 5.1.5 is frozen upstream. Updating those stays manual.

Takes effect only once merged to master — Dependabot reads its config from the default branch.

🤖 Generated with Claude Code

Weekly updates for the npm dependency and the pinned action versions.

Titles are configured as 'chore(deps): ...' rather than Dependabot's default
'Bump x from 1 to 2'. The default carries no conventional-commit type, so
pr-title.yml would fail every Dependabot pull request and make it unmergeable.

Minor and patch bumps are grouped into one pull request per ecosystem to keep
the noise down. Majors are left ungrouped: node-addon-api is the binding layer,
and a major there can break compilation on one platform and not another, so it
deserves its own run of the full matrix.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@mschmicking
mschmicking merged commit 71200e2 into master Aug 7, 2026
12 checks passed
@mschmicking
mschmicking deleted the ci-dependabot branch August 7, 2026 23:11
mschmicking added a commit that referenced this pull request Aug 8, 2026
Weekly updates for the npm dependency and the pinned action versions.

Titles are configured as 'chore(deps): ...' rather than Dependabot's default
'Bump x from 1 to 2'. The default carries no conventional-commit type, so
pr-title.yml would fail every Dependabot pull request and make it unmergeable.

Minor and patch bumps are grouped into one pull request per ecosystem to keep
the noise down. Majors are left ungrouped: node-addon-api is the binding layer,
and a major there can break compilation on one platform and not another, so it
deserves its own run of the full matrix.

Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
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