We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b734997 commit 6494e68Copy full SHA for 6494e68
1 file changed
.github/workflows/sync-bailian-cli-skill-reference.yml
@@ -85,12 +85,14 @@ jobs:
85
mkdir -p "$DEST"
86
rsync -a --delete "$SRC/" "$DEST/"
87
88
- if git diff --quiet && git diff --cached --quiet; then
+ # Stage before checking: untracked new files are invisible to `git diff` until added.
89
+ git add -A -- skills/bailian-cli/reference
90
+
91
+ if git diff --cached --quiet; then
92
echo "No changes to skill reference; exiting."
93
exit 0
94
fi
95
- git add skills/bailian-cli/reference
96
RUN_URL="${GITHUB_SERVER_URL}/${GITHUB_REPOSITORY}/actions/runs/${CLI_RUN}"
97
git commit \
98
-m "chore(bailian-cli): sync reference from cli" \
0 commit comments