Skip to content

Commit 75195d9

Browse files
committed
ci: block publishing BREAKING.md with unfilled <TODO placeholders
The v8 BREAKING.md entries are seeded placeholders that each removal PR fills in. Add a guard to the stable publish pipeline that fails if any <TODO marker remains, so the "each removal PR fills it in" contract is enforced rather than risking placeholders shipping to users at 8.0.0.
1 parent 46e401e commit 75195d9

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

.github/workflows/cd.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,14 @@ jobs:
1919
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
2020
with:
2121
fetch-depth: 0
22+
- name: Guard against unfilled BREAKING.md placeholders
23+
# The removal PRs fill in each command's entry. Block a stable publish
24+
# if any <TODO placeholder would otherwise ship to users.
25+
run: |
26+
if grep -n '<TODO' BREAKING.md; then
27+
echo "::error file=BREAKING.md::BREAKING.md still contains <TODO placeholders; each removal PR must fill in its entry before publishing."
28+
exit 1
29+
fi
2230
- uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
2331
with:
2432
node-version: 18

0 commit comments

Comments
 (0)