Octopus Integration with Github Workflows

Hi there,

I’ve got ‘conceptual’ question. I wonder how to prepare following runbook. I would like to start Octopus Runbook which starts Github Workflow defined on specific repository. Subsequently, the runbook should wait for finishing of Github Workflow and checks its status (good/bad). Depending on GH Workflow status the runbook should also end good/bad status.

Here is preview flow:

How can I achieve this?

Octopus delivers “building blocks” to assemble this or I need to scripting Github API ?

Thank you in advance.

Hello @kurtz,

Thanks for reaching out!

Octopus does not have a built-in way to trigger a Github workflow, and it doesn’t look like there are any community step templates available at this time to help out either.

I would use a run a script step in my runbook that would interact with the Github API to accomplish what you’re after.

Feel free to let me know if you have any more questions.

Best regards,
Mark Butler

1 Like

This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.