webexmemebot/.gitea/workflows/pr-title-semantic.yml
Luke Tainton 490e961397
Some checks failed
Enforce Conventional Commit PR Title / Validate PR Title (pull_request) Failing after 4s
fix(ci): switch back to previous module
2025-01-02 20:43:17 +00:00

35 lines
915 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:
# - name: PR Conventional Commit Validation
# uses: ytanikin/pr-conventional-commits@1.4.0
# with:
# task_types: '["feat","fix","docs","test","ci","refactor","perf","chore","revert"]'
# add_label: 'false'
# DOES NOT WORK WITH GITEA
- uses: amannn/action-semantic-pull-request@v5
env:
GITHUB_TOKEN: ${{ gitea.token }}
with:
requireScope: true
wip: true
validateSingleCommit: true
validateSingleCommitMatchesPrTitle: true
githubBaseUrl: https://git.tainton.uk/api/v1
ignoreLabels: ignore/semantic-pr-title