From 265390b3ea8b6dac3f947e943ec45541d1af6d4d Mon Sep 17 00:00:00 2001 From: Luke Tainton Date: Thu, 10 Apr 2025 14:57:15 +0100 Subject: [PATCH] Gitea Actions --- .gitea/CODEOWNERS | 1 + .gitea/workflows/conventional_commit.yml | 16 ++++++++++++++++ 2 files changed, 17 insertions(+) create mode 100644 .gitea/CODEOWNERS create mode 100644 .gitea/workflows/conventional_commit.yml diff --git a/.gitea/CODEOWNERS b/.gitea/CODEOWNERS new file mode 100644 index 0000000..e286c1e --- /dev/null +++ b/.gitea/CODEOWNERS @@ -0,0 +1 @@ +* @luke diff --git a/.gitea/workflows/conventional_commit.yml b/.gitea/workflows/conventional_commit.yml new file mode 100644 index 0000000..fc3da85 --- /dev/null +++ b/.gitea/workflows/conventional_commit.yml @@ -0,0 +1,16 @@ +name: Validate PR Title +on: + pull_request: + types: + - opened + - edited + - synchronize + - reopened + +jobs: + validate: + runs-on: ubuntu-latest + steps: + - uses: https://git.tainton.uk/actions/conventional-commits-check-action@v1.2.4 + with: + commit-message: ${{ gitea.event.pull_request.title }} -- 2.47.2