This commit is contained in:
Michel Roegl-Brunner 2025-03-18 10:12:05 +01:00
parent 883d6e3bf2
commit fe01c9e3ad

View File

@ -129,6 +129,20 @@ jobs:
script_name="${{ steps.list_issues.outputs.script_name }}" script_name="${{ steps.list_issues.outputs.script_name }}"
git clone https://x-access-token:${{ secrets.GH_MERGE_PAT }}@github.com/community-scripts/ProxmoxVE.git ProxmoxVE git clone https://x-access-token:${{ secrets.GH_MERGE_PAT }}@github.com/community-scripts/ProxmoxVE.git ProxmoxVE
cd ProxmoxVE cd ProxmoxVE
if [[ -f "ct/${script_name}.sh" ]]; then
echo "ct file already exists in ProxmoxVE"
exit 1
fi
if [[ -f "install/${script_name}-install.sh" ]]; then
echo "install file already exists in ProxmoxVE"
exit 1
fi
if [[ -f "json/${script_name}.json" ]]; then
echo "json file already exists in ProxmoxVE"
exit 1
fi
git checkout -b "$branch_name" git checkout -b "$branch_name"
cp ../ct/$script_name.sh . cp ../ct/$script_name.sh .