Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Original issue: killbill/killbill-oss-parent#751
POC: https://github.com/xsalefter/kb-oss-parent
The update-version.yml is doing the same as what the POC done here.
The
update-version.yml
then uses by release-repo-dispatch.yml file. In killbill project, thisrelease-repo-dispatch.yml
file will created inkillbill-oss-parent
project with the same name (PR created later).After
update-version.yml
executed successfully,release-repo-dispatch.yml
will call ci.yml. In killbill project,release-repo-dispatch.yml
will doing the same thing: calling its ci.yml file.Once ci.yml executed sucessfully,
release-repo-dispatch.yml
file will call release.yml. In killbill project,release-repo-dispatch.yml
will doing the same thing: calling release.yml. Killbill's release.yml will have minor modification.The
release-repo-dispatch.yml
will be triggered by other repositories that sent a repository_dispatch event.killbill-commons
is one of them.Thus, when killbill-commons (or any other repositories) released successfully, then its version will getting updated in
killbill-oss-parent
, trigger CI, and then try to release the up-to-datekillbill-oss-parent
automatically.Note: There's one commit that have nothing to do with original issue: adding .gitignore file for intellij files.