File tree Expand file tree Collapse file tree 1 file changed +11
-13
lines changed Expand file tree Collapse file tree 1 file changed +11
-13
lines changed Original file line number Diff line number Diff line change 1- ---
2- name : Update Release candidate Branch
1+ name : Sync release-candidate Branch with Main
32
43on :
54 push :
65 branches :
76 - main
87
98jobs :
10- update -release-candidate-branch :
9+ sync -release-candidate :
1110 runs-on : ubuntu-latest
1211
1312 steps :
14- - name : Checkout main branch
13+ - name : Checkout Main Branch
1514 uses : actions/checkout@v4
1615 with :
1716 ref : main
1817
19- - name : Pull latest changes
20- run : git pull origin main
21-
22- - name : Checkout release-candidate branch
23- run : git checkout release-candidate
24-
25- - name : Merge main into release-candidate
26- run : git merge main
18+ - name : Checkout release-candidate Branch
19+ run : |
20+ git fetch origin release-candidate
21+ git checkout release-candidate
2722
28- - name : Push changes
23+ - name : Merge Main into release-candidate
2924 run : |
25+ git merge main
3026 git push origin release-candidate
27+ env :
28+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments