From 6e4499abe3448d2e7e2fab6a64b2e68bb5fb421d Mon Sep 17 00:00:00 2001 From: Daniel Oliveira Date: Thu, 14 May 2026 12:35:09 +0100 Subject: [PATCH] ci: lint PR titles against Conventional Commits Adds amannn/action-semantic-pull-request@v5 so every PR title is validated as a Conventional Commit (feat/fix/chore/refactor/docs/test/ci/style). The codebase already follows this convention; this gate enforces it for external contributors. --- .github/workflows/lint-pr-title.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 .github/workflows/lint-pr-title.yml diff --git a/.github/workflows/lint-pr-title.yml b/.github/workflows/lint-pr-title.yml new file mode 100644 index 0000000..79bffc0 --- /dev/null +++ b/.github/workflows/lint-pr-title.yml @@ -0,0 +1,16 @@ +name: Lint PR Title + +on: + pull_request: + types: [opened, edited, synchronize] + +permissions: + pull-requests: read + +jobs: + lint: + runs-on: ubuntu-latest + steps: + - uses: amannn/action-semantic-pull-request@v5 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}