From 1086eb3d18c30e109db30e6339583255b136727a Mon Sep 17 00:00:00 2001 From: Luke Tainton Date: Thu, 2 Jan 2025 22:32:24 +0000 Subject: [PATCH] fix(ci): switch to custom action --- .gitea/workflows/pr-title-semantic.yml | 18 ++---------------- 1 file changed, 2 insertions(+), 16 deletions(-) diff --git a/.gitea/workflows/pr-title-semantic.yml b/.gitea/workflows/pr-title-semantic.yml index 25afdef..36a8ebb 100644 --- a/.gitea/workflows/pr-title-semantic.yml +++ b/.gitea/workflows/pr-title-semantic.yml @@ -15,20 +15,6 @@ jobs: 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 }} + - uses: https://git.tainton.uk/actions/conventional-commits-docker-action@v1.0.0 with: - requireScope: true - wip: true - validateSingleCommit: true - validateSingleCommitMatchesPrTitle: true - githubBaseUrl: https://git.tainton.uk/api/v1 - ignoreLabels: ignore/semantic-pr-title + commit-message: ${{ gitea.event.pull_request.title }}