diff --git a/.github/workflows/commit-lint.yaml b/.github/workflows/commit-lint.yaml new file mode 100644 index 0000000000..48ae30e068 --- /dev/null +++ b/.github/workflows/commit-lint.yaml @@ -0,0 +1,20 @@ +--- +name: Lint Commit Messages +on: + pull_request: + types: + - opened + - synchronize + - reopened + - edited + +permissions: + contents: read + pull-requests: read + +jobs: + commitlint: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4.1.1 + - uses: wagoid/commitlint-github-action@v5.4.5