mirror of
https://github.com/geode-sdk/geode.git
synced 2024-11-14 19:15:05 -05:00
Check for non-ascii characters in changelog.md (#884)
This commit is contained in:
parent
7b4817506e
commit
a953d77009
1 changed files with 26 additions and 0 deletions
26
.github/workflows/check-changelog.yml
vendored
Normal file
26
.github/workflows/check-changelog.yml
vendored
Normal 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
|
Loading…
Reference in a new issue