chore(ci): update CI to work better with conventional commits #454

Merged
luke merged 2 commits from chore/conventional-commits into main 2025-01-02 21:26:52 +01:00
Showing only changes of commit 96a836cc17 - Show all commits

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