fix fetch
This commit is contained in:
parent
e391e59139
commit
f33a44cfd6
@ -9,6 +9,5 @@ URL="${GITHUB_SERVER_URL/\/\//\/\/$GITHUB_REPOSITORY_OWNER:$INPUT_TOKEN@}/$GITHU
|
|||||||
|
|
||||||
git init -b main
|
git init -b main
|
||||||
git remote add origin "$URL"
|
git remote add origin "$URL"
|
||||||
git remote set-url --push origin "$INPUT_URL"
|
git fetch --no-tags --prune --no-recurse-submodules origin "$GITHUB_SHA"
|
||||||
git fetch -pP
|
git push --repo="$INPUT_URL" origin "main:$GITHUB_REF"
|
||||||
git push origin --mirror
|
|
||||||
|
Loading…
Reference in New Issue
Block a user