diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index 44cd5d9..c78b2aa 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -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: diff --git a/.gitea/workflows/pr-title-semantic.yml b/.gitea/workflows/pr-title-semantic.yml deleted file mode 100644 index 3730964..0000000 --- a/.gitea/workflows/pr-title-semantic.yml +++ /dev/null @@ -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 }}