From 6ac96a8a41c7dcdc705b2c1ab0f372824ffb4cc4 Mon Sep 17 00:00:00 2001 From: Bradley Jones Date: Wed, 8 Nov 2023 17:16:25 +0000 Subject: [PATCH] ci: add commitlint action Signed-off-by: Bradley Jones --- .github/workflows/commit-linting.yaml | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 .github/workflows/commit-linting.yaml diff --git a/.github/workflows/commit-linting.yaml b/.github/workflows/commit-linting.yaml new file mode 100644 index 0000000..90a96d5 --- /dev/null +++ b/.github/workflows/commit-linting.yaml @@ -0,0 +1,13 @@ +name: Lint Commit Messages +on: [ pull_request ] + +jobs: + commitlint: + runs-on: ubuntu-latest + if: ${{ github.actor != 'dependabot[bot]' }} + steps: + - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 + with: + fetch-depth: 0 + - uses: wagoid/commitlint-github-action@0d749a1a91d4770e983a7b8f83d4a3f0e7e0874e # v5.4.4 +