From 04951eb138437601166967d9d80f931b47cf1b49 Mon Sep 17 00:00:00 2001 From: Antony David Date: Fri, 2 Aug 2024 09:31:54 +0200 Subject: [PATCH] chore(ci): add commit linting workflow --- .github/workflows/lint-pr.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 .github/workflows/lint-pr.yml diff --git a/.github/workflows/lint-pr.yml b/.github/workflows/lint-pr.yml new file mode 100644 index 000000000..beb44fdca --- /dev/null +++ b/.github/workflows/lint-pr.yml @@ -0,0 +1,17 @@ +name: Lint PR + +on: [pull_request] + +permissions: + contents: read + pull-requests: read + +jobs: + commit-lint: + name: Commit Lint + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + with: + fetch-depth: 0 + - uses: wagoid/commitlint-github-action@v6