mirror of
https://github.com/trycua/computer.git
synced 2026-01-03 03:49:58 -06:00
Add explicit git fetch and reset after checkout to guarantee workflows get the most recent main branch commits, including version bumps pushed by the bump-version workflow. The issue: When using workflow_call, even with ref: main, GitHub Actions may use a cached repository state from workflow run start. This caused version consistency checks to fail because the checkout didn't include the just-pushed version bump. Solution: After checkout, explicitly fetch and reset to origin/main to ensure we have the absolute latest code. Added logging to show the current commit for debugging. Fixes: https://github.com/trycua/cua/actions/runs/19482970320 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>