Update move-to-main-repo.yaml

This commit is contained in:
CanbiZ 2025-03-11 15:43:47 +01:00 committed by GitHub
parent 4db0a3a4a9
commit 448213ddc4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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