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