File tree Expand file tree Collapse file tree 1 file changed +11
-9
lines changed Expand file tree Collapse file tree 1 file changed +11
-9
lines changed Original file line number Diff line number Diff line change 1+ name : rebase-v2-on-main
2+
13on :
24 push :
35 branches :
68 workflow_dispatch :
79
810env :
9- VSTEST_CONNECTION_TIMEOUT : 180
10- DOTNET_SKIP_FIRST_TIME_EXPERIENCE : 1
11- DOTNET_NOLOGO : true
12- DOTNET_SYSTEM_CONSOLE_ALLOW_ANSI_COLOR_REDIRECTION : 1
1311 TERM : xterm
1412
1513jobs :
@@ -38,16 +36,16 @@ jobs:
3836 git config --global user.signingkey ${{ steps.import_gpg.outputs.keyid }}
3937 git config --global commit.gpgsign true
4038
41- - name : ⏩ Merge stable with main, push to origin
39+ - name : ⏩ Rebase v2 on main, push to origin
4240 id : rebaseV2
4341 continue-on-error : true
4442 run : |
43+ git fetch --all
4544 git checkout v2
46- git fetch
47- git rebase origin/main
48- git push origin v2
45+ git rebase -S main
46+ git push --force-with-lease
4947
50- - name : ⏭ Create pull request from main to v2 when direct rebase fails
48+ - name : ⏭ Create pull request
5149 if : steps.rebaseV2.outcome == 'failure'
5250 uses : thomaseizinger/create-pull-request@1.3.1
5351 env :
5654 head : main
5755 base : v2
5856 title : Rebase v2 on main
57+ body : |
58+ This PR is created automatically by the bUnit bot.
59+
60+ When completing this PR, it's important to use **Rebase and merge** to keep the commit history clean.
You can’t perform that action at this time.
0 commit comments