From 6ad4806a9010ab13986503730115610c9c655e97 Mon Sep 17 00:00:00 2001 From: "Nabheet S. Sandhu" Date: Thu, 29 Oct 2026 17:37:17 -0600 Subject: [PATCH] ci: run on merge_group and keep publishing off the queue ref Enables a GitHub merge queue without changing release behaviour: CI runs for merge_group so queued merges can satisfy required checks, while the publish job only runs for push and workflow_dispatch. A merge-group run must never publish. --- .github/workflows/ci.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4e0b8c9..afd784b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -21,6 +21,7 @@ on: tags: ["v*-beta*"] pull_request: branches: [main] + merge_group: workflow_dispatch: jobs: @@ -40,7 +41,7 @@ jobs: - run: npm test publish: - if: github.event_name != 'pull_request' + if: github.event_name == 'push' || github.event_name == 'workflow_dispatch' needs: test runs-on: ubuntu-latest concurrency: