From 52e1f27d747d91b88b069b634f752047465a8cde Mon Sep 17 00:00:00 2001 From: Filias Heidt Date: Tue, 18 Feb 2025 16:59:01 +0100 Subject: [PATCH] hrmpf --- action.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/action.yml b/action.yml index ca63693..037f2d5 100644 --- a/action.yml +++ b/action.yml @@ -4,6 +4,9 @@ inputs: repository: description: 'Repository name with owner. For example, actions/checkout' default: ${{ github.repository }} + server: + description: 'GIT Server to clone from' + default: git.netzkommune.de token: description: > Personal access token (PAT) used to fetch the repository. The PAT is configured @@ -22,4 +25,4 @@ runs: pwd >> "$GITHUB_OUTPUT" ls -la >> "$GITHUB_OUTPUT" env >> "$GITHUB_OUTPUT" - git clone https://${GITHUB_ACTOR}:${{ inputs.token }}@${GITHUB_SERVER_URL}/${{ inputs.repository}} + git clone https://${GITHUB_ACTOR}:${{ inputs.token }}@${{ inputs.server }}/${{ inputs.repository}}