chore(ci): move to reusable workflows #333
@ -1,9 +1,18 @@
|
|||||||
name: CI
|
name: CI
|
||||||
on:
|
on:
|
||||||
pull_request:
|
pull_request:
|
||||||
types: [opened, synchronize, reopened]
|
types:
|
||||||
|
- opened
|
||||||
|
- edited
|
||||||
|
- synchronize
|
||||||
|
- reopened
|
||||||
|
|
||||||
jobs:
|
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:
|
ci:
|
||||||
uses: https://git.tainton.uk/actions/gha-workflows/.gitea/workflows/ci-python-uv-with-docker.yml@main
|
uses: https://git.tainton.uk/actions/gha-workflows/.gitea/workflows/ci-python-uv-with-docker.yml@main
|
||||||
with:
|
with:
|
||||||
|
@ -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 }}
|
|
Loading…
x
Reference in New Issue
Block a user