From d5ec087d7c5c803da285aed6df8e416ca95dd931 Mon Sep 17 00:00:00 2001 From: Mark Lawlor Date: Tue, 5 Aug 2025 10:20:30 +1000 Subject: [PATCH] chore: enable commitlint on PR merge queue - continuation --- .github/workflows/ci.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 471347a6..7638bb1b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -6,11 +6,14 @@ on: pull_request: branches: - main - merge_group: - types: - - checks_requested jobs: + # To ensure that the commitlint merge_group event triggers correctly, you need to have at least one workflow that responds to the pull_request event with a job named the same as the one in your merge_group workflow (commitlint in this example). This is necessary because the merge queue relies on the existence of status checks from the pull request context. + commitlint: + runs-on: ubuntu-latest + steps: + - name: Checkout Repository + uses: actions/checkout@v4 lint: runs-on: ubuntu-latest steps: