From 4ab4fe4cc5df762b5ecdd63cc16af1379c66ff71 Mon Sep 17 00:00:00 2001 From: Maximilian Franzke Date: Tue, 4 Mar 2025 08:44:25 +0100 Subject: [PATCH] feat: added merge groups according to https://docs.github.com/en/repositories/configuring-branches-and-merges-in-your-repository/configuring-pull-request-merges/managing-a-merge-queue#triggering-merge-group-checks-with-github-actions --- .github/workflows/default.yml | 1 + .github/workflows/pull-request-opened.yml | 2 ++ .github/workflows/pull-request.yml | 2 ++ 3 files changed, 5 insertions(+) diff --git a/.github/workflows/default.yml b/.github/workflows/default.yml index beaf49b5786d..4088f57496a7 100644 --- a/.github/workflows/default.yml +++ b/.github/workflows/default.yml @@ -3,6 +3,7 @@ name: Default Pipeline on: pull_request: + merge_group: push: branches: - "main" diff --git a/.github/workflows/pull-request-opened.yml b/.github/workflows/pull-request-opened.yml index 618fa37f7806..74e6827d6a0c 100644 --- a/.github/workflows/pull-request-opened.yml +++ b/.github/workflows/pull-request-opened.yml @@ -4,6 +4,8 @@ name: On-Pull-Request opened on: pull_request: types: [opened] + merge_group: + branches: ["main"] permissions: pull-requests: write diff --git a/.github/workflows/pull-request.yml b/.github/workflows/pull-request.yml index 047b016bfd84..4be8e655016d 100644 --- a/.github/workflows/pull-request.yml +++ b/.github/workflows/pull-request.yml @@ -4,6 +4,8 @@ name: On-PR to main on: pull_request: branches: ["main"] + merge_group: + branches: ["main"] permissions: pull-requests: write