cdk-pipelines-github
cdk-pipelines-github copied to clipboard
Add workflow_call as workflow trigger
I want to run the CDK workflow as a job inside of another workflow. This should be possible by having a trigger workflow_call
in the CDK workflow. However, it currently doesn't seem possible to add this via Typescript code.
I don't want to run the CDK workflow on its own, because I want to run e.g. tests first and do other deploy related things afterwards. All in a different existing workflow file which should not be coupled to CDK code.
This issue is also be possibly related to #293 which would allow for such customization I guess.
Hi @webjunkie! Yes, #293 escape hatching is my no. 1 priority in this module to allow for any such customizations. I'm a bit busy at the moment but I have this feature request ear-marked for when I have a bit of free time.
#340 should unblock this request, so I'm marking this as a p2
. However, if you're interested in modeling this out in the workflows-model.ts
file, I'd be happy to take a contribution. I think its just out of date and we don't have an automated way to keep up to date I don't think.