feat(ci): enforce conventional commit PR titles
All checks were successful
CI / ci (pull_request) Successful in 59s

This commit is contained in:
Luke Tainton 2025-01-02 20:25:07 +00:00
parent 89c1f64386
commit 96a836cc17
Signed by: luke
SSH Key Fingerprint: SHA256:D34npKT7UaiT/7gULqu7EPSLWWVAjTjXf4kKfJ/fQBo

View File

@ -0,0 +1,27 @@
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: amannn/action-semantic-pull-request@v5
env:
GITHUB_TOKEN: ${{ secrets.GITEA_TOKEN }}
with:
requireScope: true
wip: true
validateSingleCommit: true
validateSingleCommitMatchesPrTitle: true
githubBaseUrl: https://git.tainton.uk/api/v1
ignoreLabels: ignore-semantic-pull-request