mirror of
https://github.com/community-scripts/ProxmoxVED.git
synced 2026-02-25 05:57:26 +00:00
WF
This commit is contained in:
9
.github/workflows/move-to-main-repo.yaml
vendored
9
.github/workflows/move-to-main-repo.yaml
vendored
@@ -75,7 +75,12 @@ jobs:
|
||||
|
||||
commit_message="Add script files for $script_name"
|
||||
|
||||
git checkout -b "$branch_name"
|
||||
git remote add upstream https://github.com/$target-repo.git
|
||||
|
||||
git fetch upstream
|
||||
|
||||
|
||||
git checkout -b "$branch_name" upstream/main
|
||||
|
||||
cp "ct/$script_name.sh" .
|
||||
cp "install/$script_name-install.sh" .
|
||||
@@ -85,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 "$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"
|
||||
|
||||
Reference in New Issue
Block a user