From ee0f492198c1d6d024967ac47108d5c95c2860e0 Mon Sep 17 00:00:00 2001 From: Jesse Hallett Date: Sat, 13 Apr 2024 19:04:16 -0700 Subject: [PATCH 1/2] validate changelog in CI checks --- .github/workflows/test.yml | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index e7b625df..bb37a132 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -27,8 +27,15 @@ jobs: - name: run unit tests 🔨 run: nix build .#checks.x86_64-linux.test --print-build-logs - - name: run linter checks with clippy 🔨 + - name: run linter checks with clippy 📎 run: nix build .#checks.x86_64-linux.lint --print-build-logs - - name: audit for reported security problems 🔨 + - name: audit for reported security problems 🛡️ run: nix build .#checks.x86_64-linux.audit --print-build-logs + + - name: validate changelog 📜 + uses: mindsers/changelog-reader-action@v2 + with: + validation_level: error + version: Unreleased + path: ./CHANGELOG.md From f3a7d0129e903b0f21820b5ef1409735a719b402 Mon Sep 17 00:00:00 2001 From: Jesse Hallett Date: Sat, 13 Apr 2024 19:10:22 -0700 Subject: [PATCH 2/2] the validation doesn't like the 0.0.1 entry --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 90bdcbea..b69c188d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -25,4 +25,4 @@ This changelog documents the changes between release versions. - Rename CLI plugin to ndc-mongodb ([PR #13](https://github.com/hasura/ndc-mongodb/pull/13)) ## [0.0.1] - 2024-03-22 -Initial release +- Initial release