Commit c3b8e39
ci: validate changelog fragment filenames (#4586)
* ci: validate changelog fragment filenames
Extend the existing fragment-existence check so it also rejects fragments
whose basename doesn't match <PR_NUMBER>.<type> (where type is one of
added, changed, deprecated, removed, fixed). This catches typos in the
PR number or in the fragment type that would otherwise render a wrong
PR link, or be silently dropped, in the rendered changelog.
Also note in the do-not-edit comment of each towncrier-managed CHANGELOG.md
(root and the 4 independent packages) that the existing static "## Unreleased"
entries pre-date towncrier and must be folded into the first towncrier-built
release manually — towncrier inserts new release blocks above that section
without merging.
Assisted-by: Claude Opus 4.7 (1M context)
* Update CHANGELOG.md
* Update pyproject.toml
* Update CHANGELOG.md
* Update CHANGELOG.md
* Update CHANGELOG.md
* Update CHANGELOG.md
---------
Co-authored-by: Riccardo Magliocchetti <riccardo.magliocchetti@gmail.com>1 parent 35f1575 commit c3b8e39
2 files changed
Lines changed: 22 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
| 44 | + | |
| 45 | + | |
44 | 46 | | |
45 | 47 | | |
46 | 48 | | |
47 | 49 | | |
48 | 50 | | |
49 | 51 | | |
50 | | - | |
| 52 | + | |
51 | 53 | | |
52 | 54 | | |
53 | 55 | | |
| |||
57 | 59 | | |
58 | 60 | | |
59 | 61 | | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
60 | 80 | | |
61 | 81 | | |
62 | 82 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
249 | 249 | | |
250 | 250 | | |
251 | 251 | | |
| 252 | + | |
252 | 253 | | |
253 | 254 | | |
254 | 255 | | |
| |||
0 commit comments