This commit is contained in:
ange 2024-11-18 16:27:29 +00:00
parent 85f0d8e90c
commit 9b389fbe69
Signed by: ange
GPG Key ID: 9E0C4157BB7BEB1D

View File

@ -7,6 +7,7 @@ chmod 600 "$HOME/.ssh/id_ed25519"
URL="${GITHUB_SERVER_URL/\/\//\/\/$GITHUB_REPOSITORY_OWNER:$INPUT_TOKEN@}/$GITHUB_REPOSITORY"
set -x
git init -b "$GITHUB_REF_NAME"
git remote add origin "$URL"
git fetch --no-tags --prune --no-recurse-submodules origin "$GITHUB_SHA"