Update move-to-main-repo.yaml
This commit is contained in:
parent
4db0a3a4a9
commit
448213ddc4
11
.github/workflows/move-to-main-repo.yaml
vendored
11
.github/workflows/move-to-main-repo.yaml
vendored
@ -104,8 +104,13 @@ jobs:
|
|||||||
git remote add upstream https://github.com/${target_repo}.git
|
git remote add upstream https://github.com/${target_repo}.git
|
||||||
git fetch upstream
|
git fetch upstream
|
||||||
|
|
||||||
- name: Push
|
- name: Ensure branch exists
|
||||||
run: |
|
run: |
|
||||||
git push --no-thin https://x-access-token:${{ secrets.GH_MERGE_PAT }}@github.com/community-scripts/ProxmoxVE.git test --force
|
git checkout -b test || git checkout test
|
||||||
|
git add .
|
||||||
|
git commit -m "Ensure test branch exists" || echo "No changes to commit"
|
||||||
|
|
||||||
|
- name: Push branch
|
||||||
|
run: |
|
||||||
|
git push --set-upstream origin test --force
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user