Skip to content

Commit cd38818

Browse files
committed
feat(tooling,ci): add changelog formatting validation
- Add CI check using grep to validate bullet points end with periods - Fix 31 existing changelog entries missing periods
1 parent 9cbb5b8 commit cd38818

File tree

2 files changed

+47
-30
lines changed

2 files changed

+47
-30
lines changed

.github/workflows/tox_verify.yaml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,22 @@ jobs:
8282
- name: Build html documentation with mkdocs via tox
8383
run: uvx --with=tox-uv tox -e mkdocs
8484

85+
changelog:
86+
name: Validate changelog formatting
87+
runs-on: ubuntu-latest
88+
steps:
89+
- name: Checkout ethereum/execution-spec-tests
90+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
91+
- name: Check bullet points end with periods
92+
run: |
93+
if grep -P "^-.*[^\.]$" docs/CHANGELOG.md; then
94+
echo "❌ Found bullet points without periods (see above)"
95+
echo "💡 All bullet points should end with a period"
96+
exit 1
97+
else
98+
echo "✅ All bullet points properly end with periods"
99+
fi
100+
85101
pytest_framework:
86102
name: Run unit tests, ${{ matrix.os }}, ${{ matrix.python }}
87103
runs-on: ${{ matrix.os }}

0 commit comments

Comments
 (0)