Add a Repo check to all Workflows (#4339)

This commit is contained in:
Michel Roegl-Brunner
2025-05-09 13:15:59 +02:00
committed by GitHub
parent abb5b6d5ac
commit ab9760194d
15 changed files with 18 additions and 4 deletions

View File

@ -9,6 +9,7 @@ on:
jobs:
delete_branch:
if: github.repository == 'community-scripts/ProxmoxVE'
runs-on: runner-cluster-htl-set
steps:
- name: Checkout the code
@ -25,4 +26,4 @@ jobs:
git push origin --delete "$PR_BRANCH"
else
echo "Skipping deletion of the main branch"
fi
fi