Skip to content

Commit

Permalink
add release-repo-dispatch.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
xsalefter committed Jun 9, 2023
1 parent ac09c20 commit 9f11e09
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/release-repo-dispatch.yml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 9f11e09

Please sign in to comment.