From 3668ca7e2d5a1d881b41aa5cae17c027b456d897 Mon Sep 17 00:00:00 2001 From: damientobin1 Date: Fri, 24 Apr 2026 15:24:12 +0100 Subject: [PATCH] CCM-17448: Updating to use new action --- .github/workflows/comms_pr-title-check.yaml | 22 +++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .github/workflows/comms_pr-title-check.yaml diff --git a/.github/workflows/comms_pr-title-check.yaml b/.github/workflows/comms_pr-title-check.yaml new file mode 100644 index 0000000..177e273 --- /dev/null +++ b/.github/workflows/comms_pr-title-check.yaml @@ -0,0 +1,22 @@ +name: "4. PR Title Check" + +on: + pull_request: + types: [opened, reopened, synchronize, edited] + branches: + - main + +permissions: + contents: read + +jobs: + check-pr-title: + name: "Check PR title" + runs-on: ubuntu-latest + steps: + - name: "Checkout code" + uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6 + - name: "Check PR title format" + uses: ./.github/actions/check-pr-title-format + with: + title: ${{ github.event.pull_request.title }}