Fetch the repo in a workflow job.
Section: Jobs, steps, and conditionals
Check out repository code
yaml
yaml
- uses: actions/checkout@v4Explanation
Most build, test, and release workflows start with a checkout step.
Learn the surrounding workflow
Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.
Related commands
Same sheet · prioritizing Jobs, steps, and conditionals