feat(release-cleanup): 改為 Node 主程式並容器化

將 action 由 bash(curl/jq) 改寫為 Node 主程式 app/index.js(沿用原清理邏輯:
正式版與 beta 版各自保留 KEEP_COUNT 筆、刪除多餘 release 與未綁定 release 的 tag),
entrypoint.sh 改為輸出橫幅後 exec node 主程式,Dockerfile 改用 node alpine 六步結構,
並補上 app/package.json 與 action.yaml 輸入說明。

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
Jeffery
2026-06-30 12:41:10 +08:00
co-authored by Claude Opus 4.8
parent cb943e49a7
commit 7ac64709b9
5 changed files with 402 additions and 194 deletions
+1 -1
View File
@@ -3,7 +3,7 @@ description: '清理舊成品'
author: 'Jeffery'
inputs:
keep_count:
description: ''
description: '要保留的成品數量'
required: false
default: 2
runs: