From 0e88acd549635701f109f9001215c697242547cd Mon Sep 17 00:00:00 2001 From: Sam Vente Date: Sat, 24 Jan 2026 10:13:46 +0100 Subject: [PATCH] fix: add spelling and committed checkz to ci --- .github/workflows/check.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml index 27cf460..3495c04 100644 --- a/.github/workflows/check.yml +++ b/.github/workflows/check.yml @@ -29,3 +29,24 @@ jobs: - name: run lints run: pixi run lint + committed: + name: Lint Commits + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v6 + with: + ref: ${{ github.head_ref }} + fetch-depth: 0 + - name: dump commit messages + env: + BRANCH: ${{ github.head_ref }} + run: | + TAG="$(git tag | sort -V -r | head -n 1)" + git log "$TAG"..HEAD --format=%B > msg.txt + + - name: Check spelling of commit messages + uses: crate-ci/typos@v1.42.1 + with: + files: ./msg.txt + - name: Check conventional commits + uses: crate-ci/committed@master