From aeaf066e14580c368407ca2ee02d201f1a85c584 Mon Sep 17 00:00:00 2001 From: Luke Tainton Date: Sun, 12 Jan 2025 18:48:41 +0000 Subject: [PATCH] feat(ci): add conventional commit --- .gitea/workflows/conventional-commit.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 .gitea/workflows/conventional-commit.yml diff --git a/.gitea/workflows/conventional-commit.yml b/.gitea/workflows/conventional-commit.yml new file mode 100644 index 0000000..3d5723e --- /dev/null +++ b/.gitea/workflows/conventional-commit.yml @@ -0,0 +1,17 @@ +name: "Enforce Conventional Commit" + +on: + workflow_call: + inputs: + commit_message: + required: true + type: string + +jobs: + validate: + name: Validate PR Title + runs-on: ubuntu-latest + steps: + - uses: https://git.tainton.uk/actions/conventional-commits-check-action@v1.1.1 + with: + commit-message: ${{ inputs.commit_message }}