From 3d11c1a24a1f05e225fa8f80b09a5c467fb84539 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..27f8d11e --- /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 + + - run: brew install nbbrd/tap/heylogs + + - run: heylogs check CHANGELOG.md | grep -iv error