初始版本:從 feather-vault 搬出
ci / test (push) Successful in 1m1s

This commit is contained in:
bot
2026-11-05 02:54:23 +00:00
commit bae9657059
11 changed files with 218 additions and 0 deletions
+15
View File
@@ -0,0 +1,15 @@
name: sync-branch
description: "把來源分支的提交合併進目標分支並推送(Docker action,bash+git)。目標分支不存在、或已包含該提交就什麼都不做;有衝突就失敗(不強推、不自動解衝突)。要在 checkout(fetch-depth: 0,且 token 能推送目標分支)之後使用"
inputs:
source:
description: "來源分支名稱(例如 main)"
required: true
target:
description: "目標分支名稱(例如 dev)"
required: true
sha:
description: "要合併進去的來源提交,預設是目前的 github.sha"
default: ${{ github.sha }}
runs:
using: docker
image: Dockerfile