From 1576f27e88899e7d622c82d6fffa2e553d61115e Mon Sep 17 00:00:00 2001 From: Ariel Valentin Date: Tue, 16 Jan 2024 21:56:51 -0600 Subject: [PATCH] ci: Add Conventional Commit Lint --- .github/workflows/commit-lint.yaml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .github/workflows/commit-lint.yaml 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