From 016a3ff13622f9a9a9549340378d3e3b85ddd9a2 Mon Sep 17 00:00:00 2001 From: Stefan Krastanov Date: Tue, 6 Feb 2024 08:09:42 -0500 Subject: [PATCH] add changelog enforcer --- .github/workflows/changelog-enforcer.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 .github/workflows/changelog-enforcer.yml diff --git a/.github/workflows/changelog-enforcer.yml b/.github/workflows/changelog-enforcer.yml new file mode 100644 index 0000000..b7a2038 --- /dev/null +++ b/.github/workflows/changelog-enforcer.yml @@ -0,0 +1,15 @@ +name: "Changelog Enforcer" +on: + pull_request: + # The specific activity types are listed here to include "labeled" and "unlabeled" + # (which are not included by default for the "pull_request" trigger). + # This is needed to allow skipping enforcement of the changelog in PRs with specific labels, + # as defined in the (optional) "skipLabels" property. + types: [opened, synchronize, reopened, ready_for_review, labeled, unlabeled] + +jobs: + # Enforces the update of a changelog file on every pull request + changelog: + runs-on: ubuntu-latest + steps: + - uses: dangoslen/changelog-enforcer@v3 \ No newline at end of file