feat(ci): add conventional commit

This commit is contained in:
Luke Tainton 2025-01-12 18:48:41 +00:00
parent 36e486b708
commit aeaf066e14
Signed by: luke
SSH Key Fingerprint: SHA256:D34npKT7UaiT/7gULqu7EPSLWWVAjTjXf4kKfJ/fQBo

View File

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