fix(ci): merge checks into one file
Some checks failed
CI / validate_pr_title (pull_request) Failing after 1s
Enforce Conventional Commit PR Title / Validate PR Title (pull_request_target) Failing after 5s
CI / ci (pull_request) Successful in 1m10s

This commit is contained in:
Luke Tainton 2025-01-12 18:51:15 +00:00
parent 720b981548
commit 45798ace0c
Signed by: luke
SSH Key Fingerprint: SHA256:D34npKT7UaiT/7gULqu7EPSLWWVAjTjXf4kKfJ/fQBo
2 changed files with 10 additions and 21 deletions

View File

@ -1,9 +1,18 @@
name: CI
on:
pull_request:
types: [opened, synchronize, reopened]
types:
- opened
- edited
- synchronize
- reopened
jobs:
validate_pr_title:
uses: https://git.tainton.uk/actions/gha-workflows/.gitea/workflows/conventional-commit.yml@main
with:
commit_message: ${{ gitea.event.pull_request.title }}
ci:
uses: https://git.tainton.uk/actions/gha-workflows/.gitea/workflows/ci-python-uv-with-docker.yml@main
with:

View File

@ -1,20 +0,0 @@
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-check-action@v1.1.1
with:
commit-message: ${{ gitea.event.pull_request.title }}