This commit is contained in:
+2
-2
@@ -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 }}
|
||||
|
||||
Reference in New Issue
Block a user