Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
docs: Stash local changes before branch checkout in droid auto docs CLI (#45395)
morgankrey71f4dc248174
diff --git a/.github/workflows/docs_automation.yml b/.github/workflows/docs_automation.ymlindex 7fa39168c3c..5b72bc4051f 100644--- a/.github/workflows/docs_automation.yml+++ b/.github/workflows/docs_automation.yml@@ -202,6 +202,9 @@ jobs:# Daily batch branch - one branch per day, multiple commits accumulateBRANCH_NAME="docs/auto-update-$(date +%Y-%m-%d)"+ # Stash local changes from phase 5+ git stash push -m "docs-automation-changes" -- docs/src/+# Check if branch already exists on remoteif git ls-remote --exit-code --heads origin "$BRANCH_NAME" > /dev/null 2>&1; thenecho "Branch $BRANCH_NAME exists, checking out and updating..."@@ -212,6 +215,9 @@ jobs:git checkout -b "$BRANCH_NAME"fi+ # Apply stashed changes+ git stash pop || true+# Stage and commitgit add docs/src/SUMMARY=$(head -50 < /tmp/phase6-summary.md)