From 12007ef31212833349176447c50a8b68753ef9ff Mon Sep 17 00:00:00 2001 From: Nicolas Ayral Seydoux Date: Mon, 14 Sep 2026 11:25:10 +0200 Subject: [PATCH] chore: support merge queues in CI Add the merge_group event to the CI workflows so the checks also run against the merge commit built by the merge queue. Without it the required checks never report on a queued pull request and the queue stalls. --- .github/workflows/audit.yml | 2 ++ .github/workflows/ci.yml | 3 ++- .github/workflows/codeql-analysis.yml | 2 ++ 3 files changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/audit.yml b/.github/workflows/audit.yml index 9939c6b6b6..fe3373efd1 100644 --- a/.github/workflows/audit.yml +++ b/.github/workflows/audit.yml @@ -5,6 +5,8 @@ on: branches: [main] pull_request: branches: [main] + # Run the required tests on the merge queue. + merge_group: schedule: - cron: "40 10 * * *" concurrency: diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ba1719852f..cf85a5044e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,6 +1,7 @@ name: CI -on: [push] +# Run the required tests on the merge queue. +on: [push, merge_group] env: CI: true diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index b15883b501..a246720e18 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -10,6 +10,8 @@ on: # The branches below must be a subset of the branches above branches: - main + # Run the required tests on the merge queue. + merge_group: schedule: - cron: "0 12 * * 6"