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.
Thanks,
Adam
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:
https://library.octopus.com/step-templates/5c08170d-e919-4afe-9da3-7616c797d42b
You may need to tweak the script slightly to suit your needs, but the bulk of the work is done for you.
https://git-scm.com/docs/git-request-pull#_examples
I hope this answers your question.
Kind regards,
Ziaul
system
(system)
Closed
12 December 2019 15:37
4
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.