File tree Expand file tree Collapse file tree 1 file changed +9
-14
lines changed Expand file tree Collapse file tree 1 file changed +9
-14
lines changed Original file line number Diff line number Diff line change 1- name : Sync release-candidate Branch with Main
1+ name : Update release-candidate Branch
22
33on :
44 push :
55 branches :
66 - main
77
88jobs :
9- sync -release-candidate :
9+ update -release-candidate-branch :
1010 runs-on : ubuntu-latest
11-
1211 steps :
13- - name : Checkout Main Branch
14- uses : actions/checkout@v4
12+ - name : Checkout repository
13+ uses : actions/checkout@v3
1514 with :
16- ref : main
15+ fetch-depth : 0
1716
18- - name : Checkout release-candidate Branch
17+ - name : Update release-candidate branch
1918 run : |
20- git fetch origin release-candidate
19+ git config user.name github-actions
20+ git config user.email github-actions@github.com
2121 git checkout release-candidate
22-
23- - name : Merge Main into release-candidate
24- run : |
25- git merge main
22+ git merge origin/main
2623 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