diff --git a/.github/workflows/commit-lint.yml b/.github/workflows/commit-lint.yml new file mode 100644 index 0000000..3828bf3 --- /dev/null +++ b/.github/workflows/commit-lint.yml @@ -0,0 +1,15 @@ +name: Lint commits +on: + pull_request: +permissions: + contents: read + pull-requests: read +jobs: + commitlint: + name: Validate + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: wagoid/commitlint-github-action@v5 + with: + helpURL: "${{ github.server_url }}/${{ github.repository }}/blob/main/CONTRIBUTING.md"