Skip to content

Add GitHub Actions workflow to check for changelog entry #1

Add GitHub Actions workflow to check for changelog entry

Add GitHub Actions workflow to check for changelog entry #1

Workflow file for this run

name: Check Changelog
on: push
jobs:
check-changelog:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Check for changelog entry
run: |
if ! git diff --name-only origin/main | grep -q 'CHANGELOG.md'; then
echo "No changelog entry found. Please add an entry to CHANGELOG.md."
exit 1
fi