diff --git a/.github/workflows/changelog.yaml b/.github/workflows/changelog.yaml new file mode 100644 index 00000000..2a15efdc --- /dev/null +++ b/.github/workflows/changelog.yaml @@ -0,0 +1,20 @@ +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:| + eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)" + brew install nbbrd/tap/heylogs + + - run: heylogs check CHANGELOG.md | grep -iv error