File tree Expand file tree Collapse file tree 1 file changed +7
-6
lines changed
Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -14,6 +14,7 @@ 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.
1616on :
17+ pull_request :
1718 push :
1819 branches :
1920 - main
@@ -72,12 +73,12 @@ jobs:
7273
7374 # Branch is gone — delete the stale pre-release and its tag
7475 echo " Branch no longer exists, deleting pre-release: $TAG"
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
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
8182 sleep 1
8283 done
8384
You can’t perform that action at this time.
0 commit comments