From ef2d65716c3ce78a457b30db1c40295bdb568a31 Mon Sep 17 00:00:00 2001 From: Vito Sansevero Date: Tue, 27 Oct 2026 06:16:52 -0700 Subject: [PATCH] ci: run the required workflows for the merge queue main no longer requires a branch to be up to date before it merges, so a PR no longer re-runs CI after every other merge. The Tests, Code Quality and Viewer.js workflows also run on merge_group, so the merge queue can test each PR against the latest main once, in order. The tracked protection record now says strict: false. --- .github/branch-protection.json | 2 +- .github/workflows/code-quality.yml | 1 + .github/workflows/test.yml | 1 + .github/workflows/viewerjs-check.yml | 1 + 4 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/branch-protection.json b/.github/branch-protection.json index 47797f48..985d4116 100644 --- a/.github/branch-protection.json +++ b/.github/branch-protection.json @@ -1,6 +1,6 @@ { "required_status_checks": { - "strict": true, + "strict": false, "contexts": [ "py3.12 on ubuntu-latest", "py3.13 on ubuntu-latest", diff --git a/.github/workflows/code-quality.yml b/.github/workflows/code-quality.yml index 4b9a9ca8..800322e2 100644 --- a/.github/workflows/code-quality.yml +++ b/.github/workflows/code-quality.yml @@ -4,6 +4,7 @@ permissions: contents: read on: + merge_group: push: branches: [main] pull_request: diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index b4965c79..1ae72e50 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -4,6 +4,7 @@ permissions: contents: read on: + merge_group: pull_request: branches: [main] push: diff --git a/.github/workflows/viewerjs-check.yml b/.github/workflows/viewerjs-check.yml index 7c57cd2b..8582a67d 100644 --- a/.github/workflows/viewerjs-check.yml +++ b/.github/workflows/viewerjs-check.yml @@ -1,6 +1,7 @@ name: Viewer.js vendor and compatibility on: + merge_group: pull_request: branches: [main] push: