Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Config Options to Override github Host #830

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
add input for action to override action host
  • Loading branch information
GABeech committed Jun 15, 2022
commit ea0806b2ec48a0e7669fb8f1ce63a9b5b53297a4
7 changes: 7 additions & 0 deletions action.yml
Original file line number Diff line number Diff line change
@@ -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 <path>`
default: true

setHost:
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

setHost -> set-host

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