From a3941ee9eb2991a60e526d22f3e5a4258dc0622b Mon Sep 17 00:00:00 2001 From: Luke Tainton Date: Thu, 16 Jan 2025 23:18:59 +0000 Subject: [PATCH] fix(ci): update conventional-commit, move to separate file --- .gitea/workflows/ci.yml | 8 -------- .gitea/workflows/conventional-commit.yml | 17 +++++++++++++++++ 2 files changed, 17 insertions(+), 8 deletions(-) create mode 100644 .gitea/workflows/conventional-commit.yml diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index 0ab77f1..6e869fc 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -8,14 +8,6 @@ on: - reopened jobs: - validate_pr_title: - name: Validate PR Title - runs-on: ubuntu-latest - steps: - - uses: https://git.tainton.uk/actions/conventional-commits-check-action@v1.2.2 - with: - commit-message: ${{ gitea.event.pull_request.title }} - ci: runs-on: ubuntu-latest steps: diff --git a/.gitea/workflows/conventional-commit.yml b/.gitea/workflows/conventional-commit.yml new file mode 100644 index 0000000..5d6408c --- /dev/null +++ b/.gitea/workflows/conventional-commit.yml @@ -0,0 +1,17 @@ +name: Conventional Commit +on: + pull_request: + types: + - opened + - edited + - synchronize + - reopened + +jobs: + validate_pr_title: + name: Validate PR Title + runs-on: ubuntu-latest + steps: + - uses: https://git.tainton.uk/actions/conventional-commits-check-action@v1.2.3 + with: + commit-message: ${{ gitea.event.pull_request.title }}