chore(ci): move to reusable workflows #333

Merged
luke merged 3 commits from gitea-1-23-1 into main 2025-01-12 19:53:07 +01:00
2 changed files with 10 additions and 21 deletions
Showing only changes of commit 45798ace0c - Show all commits

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 }}