How to call another yml file conditionally?

hello all,

jobs:
  job1:
  job2:
    needs: job1
  job3:
    needs: [job1, job2]

can i mount from default yml file to another if pass the job?

dafeult.yml
ci.yml
cd.yml

somthing like

name: runner

jobs:
  job1: ci.yml
  job3: cd.yml
    needs: [ci.yml]