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 }}