🐛 fix(tsl-playbook): sync node formatting configs
Publish package metadata and Prettier settings through the scoped tsl-playbook bundle sync. Force-add only managed paths so the target branch ignore rules cannot drop the lockfile.
This commit is contained in:
@@ -158,6 +158,10 @@ jobs:
|
||||
# 本 workflow 在目标分支上仅拥有以下路径。
|
||||
managed_paths=(
|
||||
"AGENTS.md"
|
||||
"package.json"
|
||||
"package-lock.json"
|
||||
".prettierrc.json"
|
||||
".prettierignore"
|
||||
"docs/tsl"
|
||||
"skills/tsl-syntax-reference"
|
||||
"skills/tsl-api-reference"
|
||||
@@ -185,7 +189,7 @@ jobs:
|
||||
cp -R -- "$bundle/$path" "$path"
|
||||
done
|
||||
|
||||
git add -A -- "${managed_paths[@]}"
|
||||
git add -f -A -- "${managed_paths[@]}"
|
||||
|
||||
if git diff --cached --quiet; then
|
||||
echo "No tsl-playbook changes to publish."
|
||||
|
||||
Reference in New Issue
Block a user