From ea0806b2ec48a0e7669fb8f1ce63a9b5b53297a4 Mon Sep 17 00:00:00 2001 From: GABeech Date: Tue, 14 Jun 2022 22:18:07 -0400 Subject: [PATCH] add input for action to override action host --- action.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/action.yml b/action.yml index 96c535e..fd05602 100644 --- a/action.yml +++ b/action.yml @@ -71,6 +71,13 @@ inputs: set-safe-directory: description: Add repository path as safe.directory for Git global config by running `git config --global --add safe.directory ` 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: using: node16 main: dist/index.js