From bf1902f271560aaca0af51512e9d51de0ce29609 Mon Sep 17 00:00:00 2001 From: Antoine du Hamel Date: Wed, 29 Mar 2023 15:02:30 +0200 Subject: [PATCH] experiment with Merge Queues Merge Queues will run the checks on the commit that's about to merge to target branch, and will abort if a failure is detected. The difference with auto-merges is that the checks are re-run just before merging, while auto-merges behaves as if the target branch have not changed since the checks was last run. --- .github/workflows/linters.yml | 2 ++ .github/workflows/test.yml | 2 ++ 2 files changed, 4 insertions(+) diff --git a/.github/workflows/linters.yml b/.github/workflows/linters.yml index f8d50d345..93430fa1c 100644 --- a/.github/workflows/linters.yml +++ b/.github/workflows/linters.yml @@ -3,6 +3,8 @@ name: Linters on: pull_request: types: [opened, synchronize, reopened] + merge_group: + types: [checks_requested] push: branches: - main diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 541c63fd7..807587375 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -7,6 +7,8 @@ on: - reopened - synchronize - closed + merge_group: + types: [checks_requested] concurrency: test-${{ github.ref }}