diff --git a/.github/workflows/commits.yml b/.github/workflows/commits.yml new file mode 100644 index 000000000..1f7d0f605 --- /dev/null +++ b/.github/workflows/commits.yml @@ -0,0 +1,18 @@ +# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json +name: Conventional commit check + +on: [push] + +jobs: + commit_messages: + runs-on: ubuntu-latest + steps: + - name: Checkout code + uses: actions/checkout@v3 + with: + fetch-depth: 0 + + - name: Conventional commit check + uses: cocogitto/cocogitto-action@v3 + with: + check-latest-tag-only: true