[优化] 移除清理预发布标签工作流中的确认输入

This commit is contained in:
ryan
2026-05-31 22:04:06 +08:00
parent 9f9cbd4ede
commit 9da1ce8456
@@ -35,11 +35,7 @@ jobs:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
CONFIRM: ${{ github.event.inputs.confirm }} CONFIRM: ${{ github.event.inputs.confirm }}
run: | run: |
if [[ "$CONFIRM" != "cleanup-prerelease-tags" ]]; then
echo "confirm input must be exactly cleanup-prerelease-tags" >&2
exit 1
fi
mapfile -t TAGS < <(git tag --list 'v*' | sort -V) mapfile -t TAGS < <(git tag --list 'v*' | sort -V)
DELETED=0 DELETED=0