21 lines
435 B
YAML
21 lines
435 B
YAML
name: "Enforce Conventional Commit PR Title"
|
|
|
|
on:
|
|
pull_request_target:
|
|
types:
|
|
- opened
|
|
- edited
|
|
- synchronize
|
|
- reopened
|
|
- labeled
|
|
- unlabeled
|
|
|
|
jobs:
|
|
validate:
|
|
name: Validate PR Title
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: https://git.tainton.uk/actions/conventional-commits-docker-action@v1.0.0
|
|
with:
|
|
commit-message: ${{ gitea.event.pull_request.title }}
|