From 33edeb17fb21464e50a344e7031f53a53e7a8c98 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ullrich=20Sch=C3=A4fer?= Date: Mon, 23 Mar 2026 00:26:48 +0100 Subject: [PATCH] Fix automerge: wait for full CI workflow, not individual checks Changed trigger from check_suite to workflow_run on CI workflow. This ensures all jobs (typecheck, lint, test, build, e2e) pass before auto-merging, not just the first check to complete. Co-Authored-By: Claude Opus 4.6 (1M context) --- .github/workflows/automerge.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/automerge.yml b/.github/workflows/automerge.yml index 6fd21a9..14fe922 100644 --- a/.github/workflows/automerge.yml +++ b/.github/workflows/automerge.yml @@ -1,7 +1,8 @@ name: Automerge on: - check_suite: + workflow_run: + workflows: ["CI"] types: [completed] pull_request: types: [labeled] @@ -15,7 +16,7 @@ jobs: runs-on: ubuntu-latest if: > github.event_name == 'pull_request' || - (github.event_name == 'check_suite' && github.event.check_suite.conclusion == 'success') + (github.event_name == 'workflow_run' && github.event.workflow_run.conclusion == 'success') permissions: contents: write pull-requests: write