1
0
Fork 0
mirror of https://code.forgejo.org/actions/checkout.git synced 2025-04-29 22:52:59 +02:00

Adding ability to specify the GitHub Server URL and allowing for it to differ from the Actions workflow host

This commit is contained in:
Peter Murray 2022-09-09 13:05:37 +00:00 committed by GitHub
parent 2541b1294d
commit 385d3aa94f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
13 changed files with 182 additions and 62 deletions

View file

@ -71,6 +71,9 @@ 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
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.
required: false
runs:
using: node16
main: dist/index.js