chore(ci): allow deps-dev and github_actions commit scopes#111
Merged
Conversation
Dependabot groups dev-only bumps under `deps-dev` and GitHub Actions bumps under `github_actions`. Both were tripping the `scope-enum` commitlint rule (#100 blocked on its second rebase, and every future devDependency bump would have failed the same way). Enumerate the two bot scopes so Dependabot PRs pass commitlint without manual title rewrites. Verified locally against the live rule: - `build(deps-dev): bump X from ...` → pass - `build(github_actions): bump X from ...` → pass - `feat(cli): ...` → pass (regression check) - `feat(bogus): ...` → fail (rule still enforces)
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.
Summary
Unblocks Dependabot PRs from tripping commitlint's
scope-enumrule.Dependabot groups its PRs under three scopes:
deps— production-dep bumps (already allowed)deps-dev— devDependency-only bumps (was blocked)github_actions— action version bumps (was blocked)PR #100 (
starlight-llms-txt 0.9.0 → 0.10.0) surfaced this gap: 35/36checks green, only commitlint failed because `build(deps-dev): ...` is
not in the scope enum. Every future devDependency bump would have hit
the same wall.
Change
Adds
deps-devandgithub_actionsto the `scope-enum` list in`commitlint.config.mjs`. No change to the other rules.
Verified locally
Against the live lefthook rule, right after the edit:
Test plan
`build(github_actions): ...`.