調整:第三方 action 與工具的版本也從 Gitea 變數取得
ci / test (pull_request) Successful in 4s

This commit is contained in:
bot
2026-11-05 04:44:30 +00:00
parent 87ec8ee1b8
commit d267d4edfe
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -1,5 +1,5 @@
name: action-cd
description: "action repo 的共用 CD:checkout(PR 來源最新提交)→ next-version 算下一版 → 沒有跳過就打標籤並推送。只動文件、圖示、測試、.gitea/、go.mod 時跳過。內部用的 next-version 版本取自呼叫端的 Gitea 變數 ACTION_NEXT_VERSION_VERSION"
description: "action repo 的共用 CD:checkout(PR 來源最新提交)→ next-version 算下一版 → 沒有跳過就打標籤並推送。只動文件、圖示、測試、.gitea/、go.mod 時跳過。內部用的版本取自呼叫端的 Gitea 變數:ACTION_CHECKOUT_VERSION、ACTION_NEXT_VERSION_VERSION"
inputs:
token:
description: "推送標籤用的權杖(需要 write:repository);空=用內建 github.token"
@@ -17,7 +17,7 @@ outputs:
runs:
using: composite
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@${{ vars.ACTION_CHECKOUT_VERSION }}
with:
fetch-depth: 0
ref: ${{ github.event.pull_request.head.sha }}