From 874415d7596653c0ba6634320c97f1262aeef360 Mon Sep 17 00:00:00 2001 From: Francesco Del Re Date: Sun, 24 Nov 2024 19:14:50 +0100 Subject: [PATCH] chore: add commit-lint.yml for commit linting --- .github/workflows/commit-lint.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .github/workflows/commit-lint.yml diff --git a/.github/workflows/commit-lint.yml b/.github/workflows/commit-lint.yml new file mode 100644 index 0000000..8dd34cb --- /dev/null +++ b/.github/workflows/commit-lint.yml @@ -0,0 +1,23 @@ +name: Commit Lint + +on: + pull_request: + branches: + - main + - develop + push: + branches: + - main + - develop + +jobs: + commit-lint: + runs-on: ubuntu-latest + steps: + - name: Checkout code + uses: actions/checkout@v3 + + - name: Run Commit Lint + uses: wagoid/commitlint-github-action@v5 + with: + configFile: commitlint.config.js