修正 Release Cleanup action 與 Gitea workflow 設定 #3

Merged
admin merged 4 commits from develop into master 2026-06-25 10:59:55 +00:00
Member

變更摘要

  • 將 action 中繼資料更新為 Release Cleanup。
  • 將 action 傳入與 entrypoint.sh 讀取的 token 統一為 GITEA_TOKEN,用於呼叫 Gitea release/tag API。
  • 修正 Gitea workflow 目錄名稱,從含空白的錯誤路徑移到標準 .gitea/workflows
  • 調整 CI/CD workflow 設定,讓發版流程使用 ACTION_RELEASE_TAG_VERSION,並保留 code review workflow 權限設定。
  • 整理 Dockerfile 空白與檔尾換行,不改變建置行為。

影響範圍

  • action.yaml:action 名稱、描述與 GITEA_TOKEN env。
  • entrypoint.sh:改以 GITEA_TOKEN 建立 Authorization header。
  • .gitea/workflows/ci.yaml.gitea/workflows/cd.yaml:workflow 路徑與發版設定。
  • Dockerfile:格式整理。

驗證

  • bash -n entrypoint.sh
  • git diff --check
  • docker build -t release-cleanup:ai-review . 先前無法執行,因為目前環境沒有可用的 Docker daemon socket。

Commits

  • 0e91eb6 fix(release cleanup): 改用 GITEA_TOKEN 呼叫 API
  • 034c1ce chore(Gitea Actions): 修正工作流程路徑與發版設定
  • 2f0a1b7 style(Dockerfile): 整理空白與檔尾換行
  • 91dee30 fix(release cleanup): 修正 action token 傳遞與中繼資料
## 變更摘要 - 將 action 中繼資料更新為 Release Cleanup。 - 將 action 傳入與 `entrypoint.sh` 讀取的 token 統一為 `GITEA_TOKEN`,用於呼叫 Gitea release/tag API。 - 修正 Gitea workflow 目錄名稱,從含空白的錯誤路徑移到標準 `.gitea/workflows`。 - 調整 CI/CD workflow 設定,讓發版流程使用 `ACTION_RELEASE_TAG_VERSION`,並保留 code review workflow 權限設定。 - 整理 Dockerfile 空白與檔尾換行,不改變建置行為。 ## 影響範圍 - `action.yaml`:action 名稱、描述與 `GITEA_TOKEN` env。 - `entrypoint.sh`:改以 `GITEA_TOKEN` 建立 Authorization header。 - `.gitea/workflows/ci.yaml`、`.gitea/workflows/cd.yaml`:workflow 路徑與發版設定。 - `Dockerfile`:格式整理。 ## 驗證 - `bash -n entrypoint.sh` - `git diff --check` - `docker build -t release-cleanup:ai-review .` 先前無法執行,因為目前環境沒有可用的 Docker daemon socket。 ## Commits - 0e91eb6 fix(release cleanup): 改用 GITEA_TOKEN 呼叫 API - 034c1ce chore(Gitea Actions): 修正工作流程路徑與發版設定 - 2f0a1b7 style(Dockerfile): 整理空白與檔尾換行 - 91dee30 fix(release cleanup): 修正 action token 傳遞與中繼資料
jiantw83 added 3 commits 2026-06-25 10:58:05 +00:00
jiantw83 added 1 commit 2026-06-25 10:58:57 +00:00
admin approved these changes 2026-06-25 10:59:52 +00:00
admin merged commit 9d05ddf1ff into master 2026-06-25 10:59:55 +00:00
Sign in to join this conversation.
No Reviewers
No labels
2 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: old-docker-actions/release-cleanup#3