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
20
.github/workflows/check-changelog.yml
vendored
20
.github/workflows/check-changelog.yml
vendored
|
@ -1,5 +1,4 @@
|
||||||
# check the changelog for non ascii characters
|
name: Check Changelog
|
||||||
name: Check CHANGELOG.md
|
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
|
@ -11,16 +10,19 @@ on:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
check:
|
check:
|
||||||
name: Check CHANGELOG.md
|
name: Check Changelog
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout repository
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
submodules: recursive
|
submodules: recursive
|
||||||
|
|
||||||
- run: |
|
- name: Check for non-ASCII characters in changelog
|
||||||
if grep -q -P -n "[\x80-\xFF]" CHANGELOG.md
|
run: |
|
||||||
then
|
if grep -q -P -n "[\x80-\xFF]" CHANGELOG.md; then
|
||||||
exit 1;
|
echo "Non-ASCII characters found in CHANGELOG.md"
|
||||||
|
exit 1
|
||||||
|
else
|
||||||
|
echo "No non-ASCII characters found in CHANGELOG.md"
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue