From bb42af3c87cb5e9e1901343dfc70279671e08935 Mon Sep 17 00:00:00 2001 From: Victor Fusco <1221933+vfusco@users.noreply.github.com> Date: Mon, 13 Nov 2023 19:22:03 -0300 Subject: [PATCH] chore: Add conventional commits check workflow --- .github/workflows/commits.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .github/workflows/commits.yml diff --git a/.github/workflows/commits.yml b/.github/workflows/commits.yml new file mode 100644 index 000000000..c1730952f --- /dev/null +++ b/.github/workflows/commits.yml @@ -0,0 +1,19 @@ +# 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 + id: conventional_commit_check + uses: cocogitto/cocogitto-action@v3 + with: + check-latest-tag-only: true