fix(ci): switch conventional commit PR title module

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

View File

@ -15,13 +15,20 @@ jobs:
name: Validate PR Title name: Validate PR Title
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: amannn/action-semantic-pull-request@v5 - name: PR Conventional Commit Validation
env: uses: ytanikin/pr-conventional-commits@1.4.0
GITHUB_TOKEN: ${{ secrets.GITEA_TOKEN }}
with: with:
requireScope: true task_types: '["feat","fix","docs","test","ci","refactor","perf","chore","revert"]'
wip: true add_label: 'false'
validateSingleCommit: true
validateSingleCommitMatchesPrTitle: true # DOES NOT WORK WITH GITEA
githubBaseUrl: https://git.tainton.uk/api/v1 # - uses: amannn/action-semantic-pull-request@v5
ignoreLabels: ignore-semantic-pull-request # 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