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 }}