From c0d4bf822cce2e9faef25e5c7294437e2b2ad87f Mon Sep 17 00:00:00 2001 From: Simeon Romanov Date: Tue, 19 Sep 2023 19:20:34 +0300 Subject: [PATCH] add changelog workflow --- .github/workflows/changelog-updated.yml | 15 +++++++++++++++ CHANGELOG.md | 1 + 2 files changed, 16 insertions(+) create mode 100644 .github/workflows/changelog-updated.yml diff --git a/.github/workflows/changelog-updated.yml b/.github/workflows/changelog-updated.yml new file mode 100644 index 00000000..ca28354d --- /dev/null +++ b/.github/workflows/changelog-updated.yml @@ -0,0 +1,15 @@ +name: "Changelog checker" +on: + pull_request: + 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: actions/checkout@v2 + - uses: dangoslen/changelog-enforcer@v2 + with: + changeLogPath: "CHANGELOG.md" + skipLabels: "Skip-Changelog" diff --git a/CHANGELOG.md b/CHANGELOG.md index 500859cd..2acd089b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,3 +8,4 @@ Bob Management GUI changelog - Initial project structure (#1) - Dockerfile and Docker-Compose to simplify deployment (#5) +- CI/CD configuration (#11)