This repository was archived by the owner on Aug 20, 2026. It is now read-only.
Commit c99681b
committed
ci: load commitlint.config.ts and exempt Dependabot commits
wagoid/commitlint-github-action@v6 defaults configFile to ./commitlint.config.mjs, which
this repo has never had (it uses commitlint.config.ts) -- per the action's own documented
fallback, a missing configFile silently loads bare @commitlint/config-conventional instead,
meaning this repo's own type-enum restriction has never actually been enforced in CI, and
the Dependabot exemption added in this same commit would have had no effect without it.
dependabot-auto-merge.yml lands Dependabot's rebase-merged commits on main verbatim,
including its generated Bumps/Release notes/Changelog body, which routinely contains a
markdown link line over the inherited body-max-line-length limit and cannot be reformatted
by this repo -- the ignores predicate skips linting entirely for those commits, identified
by the Signed-off-by: dependabot[bot] trailer fetch-metadata's auto-merge always appends,
while every rule stays fully enforced for human-authored commits. Verified via the real
commitlint CLI: a synthetic Dependabot message with an over-length body line now passes,
an invalid type on a human commit still correctly fails, and a human commit with an
over-length body line still correctly fails.1 parent 188dc27 commit c99681b
2 files changed
Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| 22 | + | |
| 23 | + | |
22 | 24 | | |
23 | 25 | | |
24 | 26 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| 8 | + | |
| 9 | + | |
8 | 10 | | |
0 commit comments