WF
This commit is contained in:
parent
9b1165f703
commit
8316ebe5fa
3
.github/workflows/move-to-main-repo.yaml
vendored
3
.github/workflows/move-to-main-repo.yaml
vendored
@ -96,7 +96,8 @@ jobs:
|
|||||||
git commit -m "$commit_message"
|
git commit -m "$commit_message"
|
||||||
|
|
||||||
git config --unset-all http.https://github.com/.extraheader
|
git config --unset-all http.https://github.com/.extraheader
|
||||||
|
echo $TOKEN > mytoken.txt
|
||||||
|
gh auth login --with-token < mytoken.txt
|
||||||
git remote add upstream https://github.com/${target_repo}.git
|
git remote add upstream https://github.com/${target_repo}.git
|
||||||
git fetch upstream
|
git fetch upstream
|
||||||
git push upstream "$branch_name"
|
git push upstream "$branch_name"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user