This commit is contained in:
Filias Heidt
2025-02-18 16:59:01 +01:00
parent 7e3d8898c3
commit 52e1f27d74

View File

@ -4,6 +4,9 @@ inputs:
repository: repository:
description: 'Repository name with owner. For example, actions/checkout' description: 'Repository name with owner. For example, actions/checkout'
default: ${{ github.repository }} default: ${{ github.repository }}
server:
description: 'GIT Server to clone from'
default: git.netzkommune.de
token: token:
description: > description: >
Personal access token (PAT) used to fetch the repository. The PAT is configured Personal access token (PAT) used to fetch the repository. The PAT is configured
@ -22,4 +25,4 @@ runs:
pwd >> "$GITHUB_OUTPUT" pwd >> "$GITHUB_OUTPUT"
ls -la >> "$GITHUB_OUTPUT" ls -la >> "$GITHUB_OUTPUT"
env >> "$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}}