Update move-to-main-repo.yaml
This commit is contained in:
parent
481897ef27
commit
e6efb75f0e
10
.github/workflows/move-to-main-repo.yaml
vendored
10
.github/workflows/move-to-main-repo.yaml
vendored
@ -83,12 +83,10 @@ jobs:
|
|||||||
|
|
||||||
commit_message="Add script files for $script_name"
|
commit_message="Add script files for $script_name"
|
||||||
|
|
||||||
git remote add upstream https://github.com/${target_repo}.git
|
|
||||||
|
|
||||||
git fetch upstream
|
|
||||||
|
|
||||||
|
|
||||||
git checkout -b "$branch_name" upstream/main
|
|
||||||
|
git checkout -b "$branch_name"
|
||||||
|
|
||||||
git status
|
git status
|
||||||
|
|
||||||
@ -103,6 +101,10 @@ jobs:
|
|||||||
|
|
||||||
git push origin "$branch_name"
|
git push origin "$branch_name"
|
||||||
|
|
||||||
|
git remote add upstream https://github.com/${target_repo}.git
|
||||||
|
|
||||||
|
git fetch upstream
|
||||||
|
|
||||||
git status
|
git status
|
||||||
|
|
||||||
echo ${{ secrets.MAIN_REPO_WF }} > mytoken.txt
|
echo ${{ secrets.MAIN_REPO_WF }} > mytoken.txt
|
||||||
|
Loading…
x
Reference in New Issue
Block a user