From dcbebe0fab72c74269785e2776bc82620c0fb7f5 Mon Sep 17 00:00:00 2001 From: Rasmus Karlsson Date: Wed, 29 Nov 2023 10:12:25 +0100 Subject: [PATCH] Add job checking that the changelog entry has been updated in every PR --- .github/workflows/changelog-check.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 .github/workflows/changelog-check.yml diff --git a/.github/workflows/changelog-check.yml b/.github/workflows/changelog-check.yml new file mode 100644 index 0000000..1a393c2 --- /dev/null +++ b/.github/workflows/changelog-check.yml @@ -0,0 +1,17 @@ +name: Changelog Check + +on: + pull_request: + branches: [master] + types: [opened, synchronize, reopened, ready_for_review, labeled, unlabeled] + +jobs: + check-changelog: + runs-on: ubuntu-latest + steps: + # Gives an error if there's no change in the changelog (except using label) + - name: Changelog check + uses: dangoslen/changelog-enforcer@v3 + with: + changeLogPath: "CHANGELOG.md" + skipLabels: "no changelog entry needed, ci"