diff --git a/.github/workflows/tf-conventional-commits.yml b/.github/workflows/tf-conventional-commits.yml new file mode 100644 index 0000000..34ba105 --- /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