18 lines
376 B
YAML
18 lines
376 B
YAML
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 }}
|