From a9e8c392f7e1af8ff1aa0c7957e954cca7fe1d9d Mon Sep 17 00:00:00 2001 From: CanbiZ <47820557+MickLesk@users.noreply.github.com> Date: Tue, 11 Mar 2025 16:00:21 +0100 Subject: [PATCH] Update move-to-main-repo.yaml --- .github/workflows/move-to-main-repo.yaml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/move-to-main-repo.yaml b/.github/workflows/move-to-main-repo.yaml index 5486ee9..7ff9431 100644 --- a/.github/workflows/move-to-main-repo.yaml +++ b/.github/workflows/move-to-main-repo.yaml @@ -114,12 +114,20 @@ jobs: git clone https://x-access-token:${{ secrets.GH_MERGE_PAT }}@github.com/community-scripts/ProxmoxVE.git ProxmoxVE cd ProxmoxVE git checkout -b "$branch_name" + cp ../ct/$script_name.sh . cp ../install/$script_name-install.sh . cp ../json/$script_name.json . + git add . + if git diff --cached --exit-code; then + echo "No changes detected, skipping commit." + exit 0 + fi + git commit -m "$commit_message" + - name: Push to ProxmoxVE run: | cd ProxmoxVE