Skip to content

0.6.0

0.6.0 #66

Workflow file for this run

name: Changelog
on:
pull_request:
branches:
- main
types: [opened, synchronize, reopened, labeled, unlabeled]
jobs:
check-changelog:
runs-on: ubuntu-latest
if: ${{ !contains(github.event.pull_request.labels.*.name, 'no changelog') }}
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Verify CHANGELOG.md was updated
run: |
if git diff --name-only origin/${{ github.base_ref }}...HEAD | grep -q '^CHANGELOG\.md$'; then
echo "CHANGELOG.md was updated."
else
echo "::error::CHANGELOG.md was not updated. Update it or add the 'no changelog' label to the PR to skip this check."
exit 1
fi