From c402be911d7783d083beb6fce8120d0852669556 Mon Sep 17 00:00:00 2001 From: Luke Tainton Date: Wed, 15 Jan 2025 21:54:18 +0000 Subject: [PATCH] feat(ci): enforce conventional commit --- .gitea/workflows/conventional_commit.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 .gitea/workflows/conventional_commit.yml diff --git a/.gitea/workflows/conventional_commit.yml b/.gitea/workflows/conventional_commit.yml new file mode 100644 index 0000000..bb8caa7 --- /dev/null +++ b/.gitea/workflows/conventional_commit.yml @@ -0,0 +1,14 @@ +name: Conventional Commit +on: + pull_request: + 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 }}