Skip to content

Wait for Cirrus CI job to complete and then start a GH workflow #27037

Answered by ghost
Maverick099 asked this question in Actions
Discussion options

You must be logged in to vote

I imagine you could use repository_dispatch:

https://docs.github.com/en/actions/reference/events-that-trigger-workflows#repository_dispatch

So once your tests are done on CircleCI, you can send a repository_dispatch to GitHub.

You also mentioned “wait till all the Cirrus CI and other workflows”. If those other workflows are GitHub Action workflows, you can also use workflow_run:

This event occurs when a workflow run is requested or completed, and allows you to execute a workflow based on the finished result of another workflow. A workflow run is triggered regardless of the result of the previous workflow.

https://docs.github.com/en/actions/reference/events-that-trigger-workflows#workflow_run

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
3 participants