Github Pull Request After Octopus Deployment

Hey there,

I am looking for resources on how to have Octopus create a Github pull request (PR) after deployment.

It would nice to have Octopus trigger a PR for the branch it just deployed into our master branch.

There may be multiple ways to do this, i.e. have Octopus run a script after deployment or trigger a github action potentially.

Wondering if someone can point me in the right direction for accomplishing this task.


Hi Adam.

Welcome to Octopus!

There are a few things that come to mind when doing this task.

the simplest by far would be to look at the community library steps - which have loads of great content from you to look at which will make life easier for you.

To view step templates, you will need to go to:

I can see:

You may need to tweak the script slightly to suit your needs, but the bulk of the work is done for you.

I hope this answers your question.

Kind regards,

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