docs(release-cleanup): 補上 index.js JSDoc 與 ci/cd workflow 註解
CI / AI Code Review (pull_request) Failing after 40s
CI / AI Code Review (pull_request) Failing after 40s
為進入點主流程 main() 補上 JSDoc;為 ci.yaml/cd.yaml 加上用途說明與逐行註解。 皆為註解變更,不影響任何執行邏輯。 Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 4.8
parent
15ffa4ffb6
commit
4bcc6a5014
@@ -1,12 +1,27 @@
|
||||
# =============================================================================
|
||||
# 用途: release-cleanup 專案的 CD workflow。
|
||||
# 在程式碼推送至 master 分支時,自動釋出並標註 (tag) 成品版本。
|
||||
# 更新日期: 2026/06/26 10:28:36
|
||||
# =============================================================================
|
||||
|
||||
# workflow 名稱,顯示於 Gitea Actions 介面。
|
||||
name: CD
|
||||
# 觸發條件設定。
|
||||
on:
|
||||
# 於 push 事件觸發。
|
||||
push:
|
||||
# 僅在推送至 master 分支時觸發。
|
||||
branches:
|
||||
- master
|
||||
jobs:
|
||||
# job 識別碼:釋出並標註版本。
|
||||
release-tag-version:
|
||||
# job 顯示名稱。
|
||||
name: Release Tag Version
|
||||
# 指定執行於 ubuntu runner。
|
||||
runs-on: ubuntu
|
||||
steps:
|
||||
# 呼叫共用的 release-tag-version composite action,自動產生版本標籤並釋出。
|
||||
- name: 釋出並標註成品版本
|
||||
# 版本以變數 ACTION_RELEASE_TAG_VERSION 控制,便於統一升級。
|
||||
uses: https://gitea.jsc.idv.tw/composite-actions/release-tag-version@${{ vars.ACTION_RELEASE_TAG_VERSION }}
|
||||
|
||||
Reference in New Issue
Block a user