Check for non-ascii characters in changelog.md (#884)

This commit is contained in:
mat 2024-06-09 18:02:15 -03:00 committed by GitHub
parent 7b4817506e
commit a953d77009
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

26
.github/workflows/check-changelog.yml vendored Normal file
View file

@ -0,0 +1,26 @@
# check the changelog for non ascii characters
name: Check CHANGELOG.md
on:
push:
paths:
- 'CHANGELOG.md'
pull_request:
paths:
- 'CHANGELOG.md'
jobs:
check:
name: Check CHANGELOG.md
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
submodules: recursive
- run: |
if grep -q -P -n "[\x80-\xFF]" CHANGELOG.md
then
exit 1;
fi