add github action to verify that changelog has been updated (#1163)

# What this PR does

Add a GitHub Action to check that the `CHANGELOG.md` has been updated.
If no `CHANGELOG.md` change is required, simply add the "no changelog"
label to your PR, which will effectively skip this check.
This commit is contained in:
Joey Orlando 2023-01-20 12:16:15 +01:00 committed by GitHub
parent d03b7f3e69
commit f587134f66
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -0,0 +1,23 @@
name: Verify CHANGELOG updated
on:
pull_request:
types: [assigned, opened, synchronize, reopened, labeled, unlabeled]
branches:
- main
- dev
jobs:
verfiy-changelog-updated:
name: Verify CHANGELOG updated
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Changelog check
uses: Zomzog/changelog-checker@v1.3.0
with:
fileName: CHANGELOG.md
noChangelogLabel: no changelog
checkNotification: Simple
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}