Commit 65c200e
chore: add automated changelog housekeeping workflow (#578)
* chore: add automated changelog housekeeping workflow
Monthly GitHub Actions workflow + Python script that archives older
CHANGELOG.md entries to docs/archive/CHANGELOG-HISTORIC.md and trims
README "Previous Releases" section. Supports --dry-run and validates
no versions are lost during archival.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
* fix: prevent changelog housekeeping from truncating README after releases
- Section detection now matches **Previous Releases**: (bold text)
in addition to # header format — fixes detection for current README
- Section end detection recognizes --- (horizontal rules) and
**Full version history** footer, not just markdown headers
- Prevents content after Previous Releases (Migration, Documentation,
Contributing sections) from being lost during trimming
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
* fix: address code review findings for changelog housekeeping
- Fix archive boundary: use newest_archived version instead of
oldest_kept for "Versions vX.Y.Z and earlier" header reference
- Add footer link injection when Previous Releases is the last section
- Remove unused total_after variable
- Pin peter-evans/create-pull-request to SHA for supply-chain security
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
---------
Co-authored-by: Heinrich Krupp <hkr@Mac-mini-von-Heinrich.local>
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>1 parent 4193c6a commit 65c200e
File tree
2 files changed
+472
-0
lines changed- .github/workflows
- scripts/maintenance
2 files changed
+472
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
0 commit comments