Some checks failed
validate-shared-actions / validate-shared-actions (pull_request) Failing after 2s
Co-authored-by: Copilot <copilot@github.com>
961 B
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/checkoutcommit SHAde0fac2e(v6.0.2) to prevent supply chain attacks via tag or branch hijacking.