ci: add dependabot for npm and github actions - #4
Merged
Conversation
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
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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds
.github/dependabot.ymlcovering 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
masteris protected — hence this PR.The part that matters
pr-title.ymlrequires Conventional Commits, and Dependabot's default PR title isBump x from 1 to 2— no type, so every Dependabot PR would fail the check and be unmergeable. Thecommit-messagesettings producechore(deps): ...instead, which satisfies it (choreis an allowed type,depsan allowed scope).Simulated against the actual rules in
pr-title.yml:The two files are coupled: if the scope list in
pr-title.ymlever changes, this needs to change with it. Noted in a comment at the top of the config.Choices
node-addon-apiis 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