From d1cf18c8fd7d64f1b57680415893ae6253046ce6 Mon Sep 17 00:00:00 2001 From: Daniel Date: Mon, 28 Sep 2026 12:11:40 +0200 Subject: [PATCH] ci: plan registry releases from the inputs, not from github.event_name --- .github/workflows/emdash-release.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/emdash-release.yml b/.github/workflows/emdash-release.yml index 4da836b..9783e25 100644 --- a/.github/workflows/emdash-release.yml +++ b/.github/workflows/emdash-release.yml @@ -43,9 +43,11 @@ jobs: with: node-version: 24 + # Keyed on the inputs, not on github.event_name: in a called workflow + # that is the caller's event (`push`), never `workflow_call`. - name: "Plan Changesets plugin releases" id: changesets - if: ${{ github.event_name == 'workflow_call' }} + if: ${{ inputs.published-packages != '' }} shell: bash env: EMDASH_PUBLISHED_PACKAGES: ${{ inputs.published-packages }} @@ -55,7 +57,7 @@ jobs: - name: "Plan manual plugin release" id: manual - if: ${{ github.event_name == 'workflow_dispatch' }} + if: ${{ inputs.package != '' }} shell: bash env: EMDASH_RELEASE_SELECTOR: ${{ inputs.package }}