From cb11b826af1e0a269af8e53aa69b424ab05b112a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cristina=20Ca=C3=B1izales?= <113132642+CristiCanizales@users.noreply.github.com> Date: Thu, 30 May 2024 13:30:00 -0300 Subject: [PATCH] Update releaseWithCoreBundle.yml --- .github/workflows/releaseWithCoreBundle.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/releaseWithCoreBundle.yml b/.github/workflows/releaseWithCoreBundle.yml index 35eb57a6..68e34cec 100644 --- a/.github/workflows/releaseWithCoreBundle.yml +++ b/.github/workflows/releaseWithCoreBundle.yml @@ -1,5 +1,10 @@ name: publish apex-node-bundle on: + workflow_run: + workflows: + - version, tag and github release + types: + - completed workflow_dispatch: inputs: branch: @@ -10,7 +15,8 @@ on: jobs: call-release-workflow: + if: ${{ inputs.branch || (github.event_name == 'workflow_run' && github.event.workflow_run.conclusion == 'success')}} uses: forcedotcom/bundle-publish-scripts/.github/workflows/releaseWithCoreBundle.yml@main secrets: inherit with: - branch: ${{ inputs.branch }} \ No newline at end of file + branch: ${{ inputs.branch || 'main'}}