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