mirror of
https://github.com/wailsapp/wails.git
synced 2026-03-14 14:45:49 +01:00
Add git rebase before push to handle updated PR branches
🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
parent
dbcf85c50c
commit
03758a01e3
1 changed files with 3 additions and 0 deletions
3
.github/workflows/changelog-v3.yml
vendored
3
.github/workflows/changelog-v3.yml
vendored
|
|
@ -123,6 +123,9 @@ jobs:
|
|||
|
||||
# Only push if running on the main wailsapp repository
|
||||
if [ "${{ github.repository }}" = "wailsapp/wails" ]; then
|
||||
# Pull latest changes and rebase our commit
|
||||
git fetch origin $BRANCH_NAME
|
||||
git rebase origin/$BRANCH_NAME
|
||||
git push origin HEAD:$BRANCH_NAME
|
||||
else
|
||||
echo "⚠️ Running on fork (${{ github.repository }}). Skipping push - manual fix required."
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue