Commit Graph
5 Commits
Author SHA1 Message Date
JefferyandClaude Fable 5 db65ca67d5 fix(cleanup-release): 正式版與預發行版分組各自保留 KEEP_COUNT,避免 beta 擠掉正式版
- release 依 prerelease 欄位拆成正式版與預發行版兩組,各自保留最新 KEEP_COUNT 筆
- tag 保護名單改由兩組保留者聯集產生,被保留版本的 tag 一律不清除
- log 新增 STABLE_COUNT/PRERELEASE_COUNT 方便追蹤兩組數量
- action.yml 更新 KEEP_COUNT 參數說明為兩組各自保留

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-15 13:38:22 +08:00
JefferyandClaude Fable 5 adab16fb45 refactor(cleanup-release): 移除 RUNNER_TOKEN 輸入,一律改用 Gitea 自動 token
CI / 2. TEST (pull_request) Successful in 3m55s
CI / 3. RESULT (pull_request) Successful in 1s
CI / 1. BUILD (pull_request) Successful in 2s
- action.yml 移除 RUNNER_TOKEN input 與 secrets 回退鏈,env 簡化為 GITEA_TOKEN: ${{ gitea.token }}
- src/index.js 環境變數與 log 訊息同步改名為 GITEA_TOKEN,遮罩行為不變
- 自動 token 權限僅限當前 repo 且 job 結束即失效,已足夠本 action 的 release/tag 清理需求

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-15 11:21:08 +08:00
jiantw83 d667c66726 fix(cleanup-release): harden API cleanup flow
CI / 1. BUILD (pull_request) Successful in 4s
CI / 2. TEST (pull_request) Failing after 6m52s
CI / 3. RESULT (pull_request) Has been skipped
2026-07-11 13:50:16 +00:00
jiantw83 e531d18ef8 fix(cleanup-release): 重新整理 release 清理流程與輸出格式 2026-07-11 13:16:19 +00:00
jiantw83 e8608e3719 Initial commit 2026-07-11 12:26:31 +00:00