Skip to content

Commit 242e500

Browse files
committed
revert: test check
1 parent bf72fbc commit 242e500

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

.github/workflows/delete-stale-pre-releases.yml

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ name: Delete stale pre-releases
1414
# Only pre-releases are considered. Production releases (v1.2.3) and
1515
# the long-running dev-build pre-release are never touched.
1616
on:
17-
pull_request:
1817
push:
1918
branches:
2019
- main
@@ -73,12 +72,12 @@ jobs:
7372
7473
# Branch is gone — delete the stale pre-release and its tag
7574
echo " Branch no longer exists, deleting pre-release: $TAG"
76-
# if gh release --repo="$REPO" delete "$TAG" -y --cleanup-tag; then
77-
# echo " Successfully deleted $TAG"
78-
# DELETED=$((DELETED + 1))
79-
# else
80-
# echo " Failed to delete $TAG"
81-
# fi
75+
if gh release --repo="$REPO" delete "$TAG" -y --cleanup-tag; then
76+
echo " Successfully deleted $TAG"
77+
DELETED=$((DELETED + 1))
78+
else
79+
echo " Failed to delete $TAG"
80+
fi
8281
sleep 1
8382
done
8483

0 commit comments

Comments
 (0)