From 79850c2c360e439900ac1b26459a2258b08a2df0 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Levesque Date: Tue, 21 Nov 2023 08:53:07 -0500 Subject: [PATCH] ci: Add commit validation check. --- .github/workflows/conventional-commits.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 .github/workflows/conventional-commits.yml diff --git a/.github/workflows/conventional-commits.yml b/.github/workflows/conventional-commits.yml new file mode 100644 index 0000000..54143ef --- /dev/null +++ b/.github/workflows/conventional-commits.yml @@ -0,0 +1,15 @@ +name: Conventional Commits + +on: [pull_request] + +env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + +jobs: + validate-commits: + runs-on: ubuntu-latest + steps: + - name: Check out code into the Go module directory + uses: actions/checkout@v1 + - name: Commitsar check + uses: docker://aevea/commitsar