geode/.github/workflows/check-changelog.yml

29 lines
649 B
YAML
Raw Normal View History

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