cdk-pipelines-github icon indicating copy to clipboard operation
cdk-pipelines-github copied to clipboard

Add workflow_call as workflow trigger

Open webjunkie opened this issue 1 year ago • 2 comments

I want to run the CDK workflow as a job inside of another workflow. This should be possible by having a trigger workflow_callin 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.

webjunkie avatar Sep 07 '22 07:09 webjunkie

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.

kaizencc avatar Sep 22 '22 14:09 kaizencc

#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.

kaizencc avatar Sep 23 '22 20:09 kaizencc