From f795406e779b400037a62cdb17369b2cd3775eb2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ullrich=20Sch=C3=A4fer?= Date: Mon, 23 Mar 2026 01:18:04 +0100 Subject: [PATCH] Revert "Add all recommended triggers to automerge action" This reverts commit 5f353f63208e147e24e33746428821d332a16f47. --- .github/workflows/automerge.yml | 24 +++++++----------------- 1 file changed, 7 insertions(+), 17 deletions(-) diff --git a/.github/workflows/automerge.yml b/.github/workflows/automerge.yml index 20c0d55..94cf8b7 100644 --- a/.github/workflows/automerge.yml +++ b/.github/workflows/automerge.yml @@ -1,23 +1,11 @@ name: Automerge on: + workflow_run: + workflows: ["CI"] + types: [completed] pull_request: - types: - - labeled - - unlabeled - - synchronize - - opened - - edited - - ready_for_review - - reopened - - unlocked - pull_request_review: - types: - - submitted - check_suite: - types: - - completed - status: {} + types: [labeled] env: FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true @@ -26,7 +14,9 @@ jobs: automerge: name: Automerge PR runs-on: ubuntu-latest - if: true + if: > + github.event_name == 'pull_request' || + (github.event_name == 'workflow_run' && github.event.workflow_run.conclusion == 'success') permissions: contents: write pull-requests: write