Update Block_Reserved_Branches.yml

This commit is contained in:
شركة خبير المحدودة 2025-07-10 21:30:58 +03:00 committed by GitHub
parent a017909234
commit a5a7656208
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -24,7 +24,7 @@ jobs:
)
for reserved in "${RESERVED_NAMES[@]}"; do
if [[ "$BRANCH_NAME" == "$reserved" ]]; then
if [[ "$BRANCH_NAME" == $reserved ]]; then
echo "❌ Branch name '$BRANCH_NAME' is reserved. Deleting..."
curl -s -X DELETE \
-H "Authorization: token $GH_TOKEN" \