mirror of
https://code.forgejo.org/actions/checkout
synced 2025-04-22 00:33:53 +08:00
Add support for SHA256 repositories
New input parameter 'repo-sha256' to set the Git object format to "sha256" when initializing a Git repository.
This commit is contained in:
parent
cbb722410c
commit
57e16d7d9f
7 changed files with 39 additions and 7 deletions
|
@ -98,6 +98,10 @@ inputs:
|
|||
github-server-url:
|
||||
description: The base URL for the GitHub instance that you are trying to clone from, will use environment defaults to fetch from the same instance that the workflow is running from unless specified. Example URLs are https://github.com or https://my-ghes-server.example.com
|
||||
required: false
|
||||
repo-sha256:
|
||||
description: 'Set Git object format to "sha256" when initializing a Git repository.'
|
||||
required: false
|
||||
default: false
|
||||
outputs:
|
||||
ref:
|
||||
description: 'The branch, tag or SHA that was checked out'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue