Skip to content

fix(ci): rebase onto main before pushing update commits - #1

Merged
LuisAlejandro merged 1 commit into
mainfrom
feature/ci-push-rebase-before-push
Jul 9, 2026
Merged

fix(ci): rebase onto main before pushing update commits#1
LuisAlejandro merged 1 commit into
mainfrom
feature/ci-push-rebase-before-push

Conversation

@LuisAlejandro

Copy link
Copy Markdown
Member

Summary

  • Fix non-fast-forward failures in the packaging update job when main advances after checkout (seen on Dockershelf/node26 run 28933191331).
  • Fetch origin/main, rebase local update commits when behind, then push.
  • Export rev after push so build/smoke/publish check out the SHA that actually landed on main.

Test plan

  • Merge this PR to main
  • Re-run packaging on a version repo (e.g. node26) via workflow_dispatch
  • Confirm pipeline / update → Push update commits succeeds when remote main has newer commits than the job checkout

Stale origin/main after checkout caused non-fast-forward push failures
when commits landed on main during the update job. Fetch/rebase first,
then export rev so downstream jobs use the SHA that lands on main.
@LuisAlejandro
LuisAlejandro merged commit 9768716 into main Jul 9, 2026
1 check failed
@LuisAlejandro
LuisAlejandro deleted the feature/ci-push-rebase-before-push branch July 9, 2026 16:16
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.

1 participant