feat(ci): add conventional commit
This commit is contained in:
parent
36e486b708
commit
aeaf066e14
17
.gitea/workflows/conventional-commit.yml
Normal file
17
.gitea/workflows/conventional-commit.yml
Normal 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 }}
|
Loading…
x
Reference in New Issue
Block a user