Commit bed3c12
fix(ci): Allow leading digit in kebab-case filename rule
The kebab-case Danger rule required the filename stem to start with a
letter, so a legitimately kebab-cased, date-prefixed name like
2026-06-13-backend-review.md failed — and the rule's own suggestion was a
no-op (it suggested the identical name). Kebab-case permits digit-led
segments (dates, 2fa-setup, …); relax the stem regex to
/^[a-z0-9]+(-[a-z0-9]+)*$/ and restore the original review filename.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>1 parent 20030ca commit bed3c12
2 files changed
Lines changed: 4 additions & 1 deletion
File renamed without changes.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
6 | 9 | | |
7 | 10 | | |
8 | 11 | | |
| |||
0 commit comments