How can I set workflow dependency?

Hello, I have three workflows for test, lint, deploy.
I want to start my deploy workflow when the test and lint workflow succeed.
How can I set this dependency?

I tried to use “workflow_run” but It seems not to check success or failure.

Most likely it’s best to use three jobs within one workflow instead. You can then use jobs.<job_id>.needs to define the dependencies between your jobs.

1 Like