You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[Backport 6.5.x] Fix(release): promoteToPublic.finalize github:pr update main target bug (#1231)
Closes REL-1067
## Problem
The release pipeline has been systematically failing in the
`promoteToPublic.finalize` workflow with this error:
```
Warning: 1 uncommitted change
must be on a branch named differently than 'promote/release-v6.4.3889-update-main'
```
## Root Cause
The final `github:pr` step in the `promoteToPublic.finalize` workflow
was incorrectly trying to create a PR from the current branch to itself:
- **Current branch**: `promote/release-{{version}}-update-main`
- **Target branch**: `promote/release-{{version}}-update-main` ❌ (same
branch!)
- **Should target**: `main` ✅
This happened because the variable `internal_branch` was set to the
current branch name instead of the intended target branch.
### Test plan
This will have to be tested on a release
<br> Backport d7ddf22 from #1227
Co-authored-by: Warren Gifford <[email protected]>
0 commit comments