checkout

When you add the checkout command to one of your workflows, it performs the following operations:

  1. It gets a shallow clone of the GitHub repository linked to the project for which the CI Job is running. It uses the primary GitHub account you integrated into NeetoCI for authentication while cloning.

  2. It checks the commit on which the CI Job is running.

Do note that the command changes the current working directory to the directory of the clone.

Screenshot 2024-10-25 at 12.11.51.png

Can't find what you're looking for?