mirror of
https://github.com/actions/checkout.git
synced 2024-11-22 21:25:28 +00:00
add input for action to override action host
This commit is contained in:
parent
2202a283a7
commit
ea0806b2ec
@ -71,6 +71,13 @@ inputs:
|
|||||||
set-safe-directory:
|
set-safe-directory:
|
||||||
description: Add repository path as safe.directory for Git global config by running `git config --global --add safe.directory <path>`
|
description: Add repository path as safe.directory for Git global config by running `git config --global --add safe.directory <path>`
|
||||||
default: true
|
default: true
|
||||||
|
|
||||||
|
setHost:
|
||||||
|
description: >
|
||||||
|
override the github host that is set automatically to the github instance the action was called from.
|
||||||
|
This is useful if you need to clone from an instance that is not the one your action is running from.
|
||||||
|
For example, you need to clone a cloud hosted repo from an action run by an on prem instance.
|
||||||
|
required: false
|
||||||
runs:
|
runs:
|
||||||
using: node16
|
using: node16
|
||||||
main: dist/index.js
|
main: dist/index.js
|
||||||
|
Loading…
Reference in New Issue
Block a user