From 441a5fb1f98ec9c30d4cf68cd75fe529c4516afc Mon Sep 17 00:00:00 2001 From: Pan YANG Date: Sun, 15 May 2022 21:55:57 +0800 Subject: [PATCH] chore: add commitlint GitHub action Add https://github.com/marketplace/actions/commit-linter to GitHub workflow. Close TD-15061 --- .github/workflows/commitlint.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 .github/workflows/commitlint.yml diff --git a/.github/workflows/commitlint.yml b/.github/workflows/commitlint.yml new file mode 100644 index 0000000000..2a5c324833 --- /dev/null +++ b/.github/workflows/commitlint.yml @@ -0,0 +1,11 @@ +name: Lint Commit Messages +on: [pull_request, push] + +jobs: + commitlint: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + with: + fetch-depth: 0 + - uses: wagoid/commitlint-github-action@v4 -- GitLab