Skip to content

Commit c0e8000

Browse files
committed
require changelog.md to be in release form
when making a release
1 parent c0577f2 commit c0e8000

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
@@ -4,6 +4,7 @@ Upcoming (TBD)
44
Internal
55
--------
66
* Add mypy to Pull Request template.
7+
* Require release format of `changelog.md` when making a release.
78

89

910
1.40.0 (2025/10/14)

0 commit comments

Comments
 (0)