needs

say it: “NEEDZ” /ˈnidz/

Makes a job wait for other jobs.

What does needs do?

needs makes a job wait for other jobs to succeed first, such as deploying only after tests pass.

jobs:
  test: ...
  deploy:
    needs: test

Level: Journeyman · More GitHub Actions terms at this level

Updated