What does `needs:` do in GitHub Actions?

BeginnerConceptCI/CD
Answer

It makes a job wait for other jobs and lets it read their outputs through needs.<job>.outputs. Without needs, jobs run in parallel.

All Real-World Interview questions Roadmap: Interview readiness

More on CI/CD