diff --git a/.github/workflows/move-to-main-repo.yaml b/.github/workflows/move-to-main-repo.yaml index a3c90d5..fc2bc58 100644 --- a/.github/workflows/move-to-main-repo.yaml +++ b/.github/workflows/move-to-main-repo.yaml @@ -75,7 +75,7 @@ jobs: commit_message="Add script files for $script_name" - git remote add upstream https://github.com/$target-repo.git + git remote add upstream https://github.com/${target_repo}.git git fetch upstream @@ -90,4 +90,4 @@ jobs: git commit -m "$commit_message" git push origin "$branch_name" - 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" + 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}"