diff --git a/.github/workflows/move-to-main-repo.yaml b/.github/workflows/move-to-main-repo.yaml index e510965..00d356c 100644 --- a/.github/workflows/move-to-main-repo.yaml +++ b/.github/workflows/move-to-main-repo.yaml @@ -106,5 +106,8 @@ jobs: git status - + echo ${{ secrets.MAIN_REPO_WF }} > mytoken.txt + + gh auth login --with-token < mytoken.txt + gh pr create --title "Add script files for $script_name" --body "This PR adds the $script_name script files." --base main --head "community-scripts/ProxmoxVED:$branch_name" --repo "${target_repo}"