mirror of
https://github.com/geode-sdk/geode.git
synced 2024-11-23 07:57:51 -05:00
Update changelog checker
This commit is contained in:
parent
e4049f4b81
commit
9660667888
1 changed files with 11 additions and 9 deletions
18
.github/workflows/check-changelog.yml
vendored
18
.github/workflows/check-changelog.yml
vendored
|
@ -1,5 +1,4 @@
|
|||
# check the changelog for non ascii characters
|
||||
name: Check CHANGELOG.md
|
||||
name: Check Changelog
|
||||
|
||||
on:
|
||||
push:
|
||||
|
@ -11,16 +10,19 @@ on:
|
|||
|
||||
jobs:
|
||||
check:
|
||||
name: Check CHANGELOG.md
|
||||
name: Check Changelog
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
submodules: recursive
|
||||
|
||||
- run: |
|
||||
if grep -q -P -n "[\x80-\xFF]" CHANGELOG.md
|
||||
then
|
||||
exit 1;
|
||||
- name: Check for non-ASCII characters in changelog
|
||||
run: |
|
||||
if grep -q -P -n "[\x80-\xFF]" CHANGELOG.md; then
|
||||
echo "Non-ASCII characters found in CHANGELOG.md"
|
||||
exit 1
|
||||
else
|
||||
echo "No non-ASCII characters found in CHANGELOG.md"
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue