shared-actions/checkout/README.md
Michael Seele 0cd6236a11
Some checks failed
validate-shared-actions / validate-shared-actions (pull_request) Failing after 2s
feat: add checkout action
Co-authored-by: Copilot <copilot@github.com>
2026-04-30 10:09:54 +02:00

961 B

checkout

Composite wrapper around actions/checkout pinned to a specific commit SHA to prevent supply chain attacks via tag or branch hijacking.

Inputs

Input Required Default Description
ref No '' Branch, tag, or SHA to checkout
repository No ${{ github.repository }} Repository name with owner
token No ${{ github.token }} Personal access token to fetch the repository
path No '' Relative path under $GITHUB_WORKSPACE to place the repository
fetch-depth No 1 Number of commits to fetch. 0 fetches all history
submodules No false Whether to checkout submodules (true, false, or recursive)

Usage

- uses: schmalz/shared-actions/.forgejo/actions/checkout@v1

Notes

  • Pinned to actions/checkout commit SHA de0fac2e (v6.0.2) to prevent supply chain attacks via tag or branch hijacking.