From d1fb11960567e50d82e64214ecf922f821ac7408 Mon Sep 17 00:00:00 2001 From: wetransform Bot <113353961+wetransformer@users.noreply.github.com> Date: Mon, 1 Apr 2024 16:50:29 +0200 Subject: [PATCH] ci: add/update workflow for checking commit conventions --- .github/workflows/tf-conventional-commits.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 .github/workflows/tf-conventional-commits.yml diff --git a/.github/workflows/tf-conventional-commits.yml b/.github/workflows/tf-conventional-commits.yml new file mode 100644 index 00000000..34ba1051 --- /dev/null +++ b/.github/workflows/tf-conventional-commits.yml @@ -0,0 +1,18 @@ +name: Check commit conventions + +on: + pull_request: + branches: + - '*' + +jobs: + verify-commits: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + + # https://github.com/taskmedia/action-conventional-commits + - uses: taskmedia/action-conventional-commits@v1.1.15 + with: + types: "feat|fix|refactor|revert|ci|chore|docs|build|perf|test|style" + skip_revert: false