mirror of
https://code.forgejo.org/actions/checkout.git
synced 2024-12-01 00:19:15 +01:00
add input for action to override action host
This commit is contained in:
parent
2202a283a7
commit
ea0806b2ec
1 changed files with 7 additions and 0 deletions
|
@ -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 a new issue