From f587134f660476b27d8a83848ebedbe8cb56825f Mon Sep 17 00:00:00 2001 From: Joey Orlando Date: Fri, 20 Jan 2023 12:16:15 +0100 Subject: [PATCH] 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. --- .../workflows/verify-changelog-updated.yml | 23 +++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .github/workflows/verify-changelog-updated.yml diff --git a/.github/workflows/verify-changelog-updated.yml b/.github/workflows/verify-changelog-updated.yml new file mode 100644 index 00000000..e27be8be --- /dev/null +++ b/.github/workflows/verify-changelog-updated.yml @@ -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 }}