Skip to content

fix(release): fast-forward bootstrap branch - #33

Merged
kayodebristol merged 2 commits into
mainfrom
codex/fix-release-bootstrap-push
Aug 11, 2026
Merged

fix(release): fast-forward bootstrap branch#33
kayodebristol merged 2 commits into
mainfrom
codex/fix-release-bootstrap-push

Conversation

@kayodebristol

Copy link
Copy Markdown
Contributor

The release workflow creates a protected release branch through the GitHub API. Its next push used a lease without a local tracking value and therefore rejected the workflow's own new ref. Use an ordinary fast-forward push: it succeeds from the declared release base and still rejects unexpected remote advancement.

Copilot AI lite review requested due to automatic review settings August 11, 2026 07:20

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR fixes the release workflow’s bootstrap push behavior when the release branch ref is created via the GitHub API after the runner’s checkout, avoiding a --force-with-lease rejection caused by missing local tracking state.

Changes:

  • Replace git push --force-with-lease with a standard fast-forward git push for the initial push to the API-created release branch.
  • Add inline rationale explaining why an ordinary push is safe in this specific scenario.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread .github/workflows/release-reusable.yml Outdated
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
@kayodebristol
kayodebristol merged commit 4f0c9d4 into main Aug 11, 2026
1 check passed
@kayodebristol
kayodebristol deleted the codex/fix-release-bootstrap-push branch August 11, 2026 07:26
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