From 59e934f58f8c391784f128a3508fd912cb1f3d16 Mon Sep 17 00:00:00 2001 From: Mike Schmidt Date: Mon, 16 Oct 2023 11:20:39 -0600 Subject: [PATCH] ci: Add changelog linter --- .github/workflows/changelog.yaml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) 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..5cdb8e9a --- /dev/null +++ b/.github/workflows/changelog.yaml @@ -0,0 +1,18 @@ +name: 'Check changelog for adhereance to keep-a-changelog' + +on: + workflow_dispatch: + pull_request: + paths: + - 'CHANGELOG.md' + +jobs: + lint: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v3 + + - uses: jbangdev/jbang-action@v0.110.1 + with: + run: 'jbang com.github.nbbrd.heylogs:heylogs-cli:0.7.0:bin check CHANGELOG.md | grep -iv error"