From 0567ab93ab55cdc57256be49d9741999ba6ca42c Mon Sep 17 00:00:00 2001 From: Radoslav Dimitrov Date: Mon, 21 Mar 2022 19:16:01 +0200 Subject: [PATCH] chore: add commitsar action to enforce the use of conventional commits For reference - https://www.conventionalcommits.org Signed-off-by: Radoslav Dimitrov --- .github/workflows/tests.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 23b463f90..40da8831b 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -49,3 +49,13 @@ jobs: uses: golangci/golangci-lint-action@v2 with: version: v1.44 + + conventional-commits-lint-check: + runs-on: "ubuntu-latest" + steps: + - name: Checkout code + uses: "actions/checkout@v2" + with: + fetch-depth: 0 + - name: Commitsar Action + uses: aevea/commitsar@v0.18.0