WF
This commit is contained in:
parent
c67afb2b3a
commit
e0bae28053
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"
|
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 "ct/$script_name.sh" .
|
||||||
cp "install/$script_name-install.sh" .
|
cp "install/$script_name-install.sh" .
|
||||||
@ -85,4 +90,4 @@ jobs:
|
|||||||
git commit -m "$commit_message"
|
git commit -m "$commit_message"
|
||||||
git push origin "$branch_name"
|
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"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user