File tree 1 file changed +9
-14
lines changed
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
2
2
3
3
on :
4
4
push :
5
5
branches :
6
6
- main
7
7
8
8
jobs :
9
- sync -release-candidate :
9
+ update -release-candidate-branch :
10
10
runs-on : ubuntu-latest
11
-
12
11
steps :
13
- - name : Checkout Main Branch
14
- uses : actions/checkout@v4
12
+ - name : Checkout repository
13
+ uses : actions/checkout@v3
15
14
with :
16
- ref : main
15
+ fetch-depth : 0
17
16
18
- - name : Checkout release-candidate Branch
17
+ - name : Update release-candidate branch
19
18
run : |
20
- git fetch origin release-candidate
19
+ git config user.name github-actions
20
+ git config user.email [email protected]
21
21
git checkout release-candidate
22
-
23
- - name : Merge Main into release-candidate
24
- run : |
25
- git merge main
22
+ git merge origin/main
26
23
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