Does GH actions co-schedule dependent jobs on the same runner?

I am curious if GH Actions schedule dependent jobs on the same runner.
Say I have two jobs in the same workflow, Job2 depends on Job1. Both jobs are set to run on runners with tag “self-hosted”, and I have multiple self-hosted runners.

The question is, does GH Actions guarantee that the runner runs Job1 will also run Job2 in the same workflow?

1 Like