Skip to content

Conversation

@BaiyuScope3
Copy link
Collaborator

Problem

The sync workflow was always skipping commits on first run because git diff only detects changes to tracked files. When v2.6-rc/ doesn't exist yet (first sync), the extracted docs are untracked and invisible to git diff.

Solution

Stage files before checking for changes:

- if git diff --quiet v2.6-rc/; then
+ git add v2.6-rc/
+ if git diff --cached --quiet; then

git diff only detects tracked files. Use git add + git diff --cached
to properly detect new v2.6-rc/ folder on first sync.
@BaiyuScope3 BaiyuScope3 merged commit f6752f2 into 2.6.x Jan 5, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants