checkout: Checks out repository code under the workflow workspace so subsequent steps can access it.
What problem it solves GitHub Actions workflows need repository files available before they can build, test, or modify code. Checkout also has to handle authentication, fetch depth, sparse working trees, submodules, and trusted workflow contexts without introducing avoidable security risks. Key features Configurable repository checkout — Check out the triggering repository or another repository by…
github.comhttps://github.com/actions/checkout