Skip to content

fix(git-github-workflow): include untracked files when stashing and stage prior to gating - #725

Merged
d-oit merged 1 commit into
mainfrom
fix/git-workflow-untracked-stash-8932912855575019617
Aug 23, 2026
Merged

fix(git-github-workflow): include untracked files when stashing and stage prior to gating#725
d-oit merged 1 commit into
mainfrom
fix/git-workflow-untracked-stash-8932912855575019617

Conversation

@d-oit

@d-oit d-oit commented Aug 23, 2026

Copy link
Copy Markdown
Owner

Fixes an issue in .agents/skills/git-github-workflow/run.sh where git stash push without -u left untracked new files on disk during gating or branch switching, creating a broken hybrid tree. Staging changes before quality gate and using git stash push -u ensures clean tree states.

Fixes #724


PR created automatically by Jules for task 8932912855575019617 started by @d-oit

Update .agents/skills/git-github-workflow/run.sh to stage all changes
before running the quality gate in agent_commit and use git stash push -u
in agent_post_merge_validate to include untracked files.

Co-authored-by: d-oit <6849456+d-oit@users.noreply.github.com>
@google-labs-jules

Copy link
Copy Markdown
Contributor

👋 Jules, reporting for duty! I'm here to lend a hand with this pull request.

When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down.

I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job!

For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with @jules. You can find this option in the Pull Request section of your global Jules UI settings. You can always switch back!

New to Jules? Learn more at jules.google/docs.


For security, I will only act on instructions from the user who triggered this task.

@vercel

vercel Bot commented Aug 23, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
do-knowledge-studio Ready Ready Preview, v0 Aug 23, 2026 2:39pm

@github-actions

Copy link
Copy Markdown
Contributor

Blocked merge diagnosis — blocked
⏳ Check run(s) still in progress: ["Codacy Static Code Analysis","Infrastructure as Code Security","Shell Script Security Analysis","Analyze (actions)","Trivy Filesystem Security Scan","Diagnose Blocked Merge State","Analyze (javascript-typescript)","Secret Detection","labeler","Detect Changes","commitlint"]

@codacy-production

Copy link
Copy Markdown
Contributor

Up to standards ✅

🟢 Issues 0 issues

Results:
0 new issues

View in Codacy

NEW Get contextual insights on your PRs based on Codacy's metrics, along with PR and Jira context, without leaving GitHub. Enable AI reviewer
TIP This summary will be updated as you push new changes.

@d-oit
d-oit merged commit 35ef1c6 into main Aug 23, 2026
26 checks passed
@d-oit
d-oit deleted the fix/git-workflow-untracked-stash-8932912855575019617 branch August 23, 2026 18:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

git-github-workflow skill: pre-commit stash breaks with untracked new files

1 participant