diff --git a/.github/workflows/release-repo-dispatch.yml b/.github/workflows/release-repo-dispatch.yml new file mode 100644 index 00000000..b0f4208a --- /dev/null +++ b/.github/workflows/release-repo-dispatch.yml @@ -0,0 +1,18 @@ +name: release-repo-dispatch + +on: + repository_dispatch: + +jobs: + update_version_from_repository_dispatch: + uses: killbill/gh-actions-shared/.github/workflows/update-version.yml@main + + # If CI failed, should we revert commit? I don't think so, since we still have release.yml with "workflow_dispatch", + # fix broken things and then trigger release.yml manually. + run-ci: + uses: ./.github/workflows/ci.yml + needs: update_version_from_repository_dispatch + + release: + uses: ./.github/workflows/release.yml + needs: run-ci