From bc5b2e3ac83980c925f05dec8f5fe75b371655a3 Mon Sep 17 00:00:00 2001 From: jocelyneholdbrook Date: Thu, 2 Jul 2026 10:45:47 +0100 Subject: [PATCH] chore: lint PR titles against conventional commits standard --- .github/workflows/pr-lint.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .github/workflows/pr-lint.yml diff --git a/.github/workflows/pr-lint.yml b/.github/workflows/pr-lint.yml new file mode 100644 index 0000000..dd6a466 --- /dev/null +++ b/.github/workflows/pr-lint.yml @@ -0,0 +1,19 @@ +name: PR - Lint + +on: + pull_request: + types: + - opened + - edited + - synchronize + +jobs: + lint-pr-title: + name: Validate PR title (Conventional Commits) + runs-on: ubuntu-latest + permissions: + pull-requests: read + steps: + - uses: amannn/action-semantic-pull-request@v6 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}