From 8948def351204f526276c8dcdb2223a7163d1783 Mon Sep 17 00:00:00 2001 From: wetransform Bot <113353961+wetransformer@users.noreply.github.com> Date: Wed, 17 Apr 2024 12:22:11 +0000 Subject: [PATCH] ci: add/update workflow for checking commit conventions --- .github/workflows/tf-conventional-commits.yml | 22 +++++++++++++++++++ 1 file changed, 22 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 000000000..243b384b3 --- /dev/null +++ b/.github/workflows/tf-conventional-commits.yml @@ -0,0 +1,22 @@ +--- +# +# PLEASE NOTE: Managed workflow - do not change manually +# +name: Check commit conventions + +on: + pull_request: + branches: + - '*' + +jobs: + verify-commits: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 + + # https://github.com/taskmedia/action-conventional-commits + - uses: taskmedia/action-conventional-commits@1aea91552f4a5d1407481066c5c9d83f1936b170 # v1.1.15 + with: + types: "feat|fix|refactor|revert|ci|chore|docs|build|perf|test|style" + skip_revert: false