From 13e7b2bd597c8a10cb700d5af58ee77986cf791f Mon Sep 17 00:00:00 2001 From: Nicolas Dupont Date: Thu, 7 Mar 2024 11:21:40 +0100 Subject: [PATCH] Add GitHub Action to lint commit messages in CI --- .github/workflows/commit.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 .github/workflows/commit.yml diff --git a/.github/workflows/commit.yml b/.github/workflows/commit.yml new file mode 100644 index 000000000..9c8579f24 --- /dev/null +++ b/.github/workflows/commit.yml @@ -0,0 +1,15 @@ +name: Lint commit messages + +on: + pull_request: + +permissions: + contents: read + pull-requests: read + +jobs: + commitlint: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: wagoid/commitlint-github-action@v5