Update move-to-main-repo.yaml

This commit is contained in:
Michel Roegl-Brunner
2025-03-10 21:13:13 +01:00
committed by GitHub
parent 481897ef27
commit e6efb75f0e

View File

@@ -83,12 +83,10 @@ jobs:
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
@@ -103,6 +101,10 @@ jobs:
git push origin "$branch_name"
git remote add upstream https://github.com/${target_repo}.git
git fetch upstream
git status
echo ${{ secrets.MAIN_REPO_WF }} > mytoken.txt