From a8501c299dac4e14161d3d1342e1f4a806f2de09 Mon Sep 17 00:00:00 2001 From: Sergio Gasquez Date: Wed, 12 Jun 2024 11:54:53 +0200 Subject: [PATCH] ci: Add changelog check --- .github/workflows/changelog.yaml | 21 +++++++++++++++++++++ CHANGELOG.md | 2 +- 2 files changed, 22 insertions(+), 1 deletion(-) create mode 100644 .github/workflows/changelog.yaml diff --git a/.github/workflows/changelog.yaml b/.github/workflows/changelog.yaml new file mode 100644 index 00000000..a5ca4bb2 --- /dev/null +++ b/.github/workflows/changelog.yaml @@ -0,0 +1,21 @@ +name: Changelog check + +on: + pull_request: + # Run on labeled/unlabeled in addition to defaults to detect + # adding/removing skip-changelog labels. + types: [opened, reopened, labeled, unlabeled, synchronize] + +jobs: + changelog: + runs-on: ubuntu-latest + + steps: + - name: Checkout sources + uses: actions/checkout@v4 + + - uses: dangoslen/changelog-enforcer@v3 + with: + changeLogPath: CHANGELOG.md + skipLabels: "skip-changelog" + missingUpdateErrorMessage: "Please add a changelog entry in the CHANGELOG.md file." diff --git a/CHANGELOG.md b/CHANGELOG.md index ce9f8d89..c7745fc7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -12,7 +12,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Changed - Update LLVM version to `esp-17.0.1_20240419` (#427) -- Update dependencies +- Update dependencies (#429) ## [0.11.0] - 2024-02-02