Update Block_Reserved_Branches.yml
This commit is contained in:
parent
a017909234
commit
a5a7656208
|
|
@ -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" \
|
||||
|
|
|
|||
Loading…
Reference in New Issue