Skip to content

Commit 55be65b

Browse files
committed
require changelog.md to be in release form
when making a release
1 parent d453fd0 commit 55be65b

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

.github/workflows/publish.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,19 @@ permissions:
88
contents: read
99

1010
jobs:
11+
docs:
12+
runs-on: ubuntu-latest
13+
14+
steps:
15+
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
16+
17+
- name: Require release changelog form
18+
run: |
19+
if grep -q TBD changelog.md; then false; fi
20+
1121
test:
1222
runs-on: ubuntu-latest
23+
needs: [docs]
1324

1425
strategy:
1526
matrix:

changelog.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ Internal
66
* Add mypy to Pull Request template.
77
* Enable flake8-bugbear lint rules.
88
* Fix flaky editor-command tests in CI.
9+
* Require release format of `changelog.md` when making a release.
910

1011

1112
1.40.0 (2025/10/14)

0 commit comments

Comments
 (0)