From 55f8088ca72f8081216f896746998c43609599a9 Mon Sep 17 00:00:00 2001 From: Michel Roegl-Brunner Date: Tue, 11 Mar 2025 12:52:25 +0100 Subject: [PATCH] WF --- .github/workflows/move-to-main-repo.yaml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/move-to-main-repo.yaml b/.github/workflows/move-to-main-repo.yaml index fa65042..0f8ee73 100644 --- a/.github/workflows/move-to-main-repo.yaml +++ b/.github/workflows/move-to-main-repo.yaml @@ -95,12 +95,10 @@ jobs: git commit -m "$commit_message" - #git config --unset-all http.https://github.com/.extraheader - echo $TOKEN - echo $TOKEN > mytoken.txt - gh auth login --with-token < mytoken.txt git remote add upstream https://github.com/${target_repo}.git git fetch upstream + gh auth status + git push upstream "$branch_name" gh pr create --base main --head "$branch_name" --title "$commit_message" --body "This PR adds the script files for $script_name." -R $target_repo