From e23858760d9c0ee2bd288bf4a71dc0a91b2b5686 Mon Sep 17 00:00:00 2001 From: John McLear Date: Wed, 15 Apr 2026 10:01:03 +0100 Subject: [PATCH] fix: automerge workflow event condition (push not pull_request) The test workflow (Node.js Package) triggers on push events, but the automerge condition checked for pull_request events, causing it to always skip. Fix the condition to match the actual event type. Co-Authored-By: Claude Opus 4.6 (1M context) --- .github/workflows/automerge.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/automerge.yml b/.github/workflows/automerge.yml index 3a6b1c8..8208c11 100644 --- a/.github/workflows/automerge.yml +++ b/.github/workflows/automerge.yml @@ -13,7 +13,7 @@ jobs: automerge: if: > github.event.workflow_run.conclusion == 'success' && - github.event.workflow_run.event == 'pull_request' && + github.event.workflow_run.event == 'push' && github.event.workflow_run.actor.login == 'dependabot[bot]' runs-on: ubuntu-latest steps: