1
0
Fork 0
mirror of https://github.com/actions/checkout.git synced 2025-05-23 08:10:03 +00:00

add our feature

This commit is contained in:
alexanderkranga 2024-02-06 15:30:36 +02:00
parent b4ffde65f4
commit e72243fb91
7 changed files with 101 additions and 8 deletions

View file

@ -9,6 +9,11 @@ inputs:
The branch, tag or SHA to checkout. When checking out the repository that
triggered a workflow, this defaults to the reference or SHA for that
event. Otherwise, uses the default branch.
default-ref-on-error:
description: >
Whether to checkout the default repository branch if specified ref does not exist.
If this is set to true, then fetch-depth should be 0
default: true
token:
description: >
Personal access token (PAT) used to fetch the repository. The PAT is configured