mirror of
https://github.com/actions/checkout.git
synced 2025-05-23 08:10:03 +00:00
update action.yml and readme
This commit is contained in:
parent
5bbdf118df
commit
47b9382799
3 changed files with 9 additions and 10 deletions
|
@ -9,11 +9,9 @@ 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
|
||||
default-branch-checkout:
|
||||
description: 'Indicates whether to checkout the default repository branch if the requested ref does not exist'
|
||||
default: false
|
||||
token:
|
||||
description: >
|
||||
Personal access token (PAT) used to fetch the repository. The PAT is configured
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue