geode/.github/workflows/check-changelog.yml
2024-11-07 16:07:12 +03:00

28 lines
649 B
YAML

name: Check Changelog
on:
push:
paths:
- 'CHANGELOG.md'
pull_request:
paths:
- 'CHANGELOG.md'
jobs:
check:
name: Check Changelog
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
submodules: recursive
- 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