From c928a6239b0eda33b16c47b076bdd06dbd9cf878 Mon Sep 17 00:00:00 2001 From: Aydin Hassan Date: Sun, 1 Nov 2026 11:52:56 +0100 Subject: [PATCH] ci: check PR titles are conventional commits --- .github/workflows/pr-title.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .github/workflows/pr-title.yml diff --git a/.github/workflows/pr-title.yml b/.github/workflows/pr-title.yml new file mode 100644 index 00000000..bc70ecb1 --- /dev/null +++ b/.github/workflows/pr-title.yml @@ -0,0 +1,19 @@ +name: PR title + +on: + pull_request_target: + types: [opened, edited, synchronize, reopened] + +permissions: + pull-requests: read + +jobs: + conventional: + name: Conventional title + runs-on: ubuntu-latest + timeout-minutes: 2 + steps: + # the title becomes the squash commit message + - uses: amannn/action-semantic-pull-request@v5 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}