File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ name: Sync branches
2
2
on :
3
3
push :
4
4
branches :
5
- - ' master '
5
+ - ' main '
6
6
- ' development'
7
7
jobs :
8
8
sync-branch :
@@ -13,11 +13,11 @@ jobs:
13
13
- name : Retrieve branch name
14
14
id : retrieve-branch-name
15
15
run : echo "::set-output name=branch_name::$(REF=${GITHUB_HEAD_REF:-$GITHUB_REF} && echo ${REF#refs/heads/} | sed 's/\//-/g')"
16
- - name : Merge master -> development
17
- if : ${{ steps.retrieve-branch-name.outputs.branch_name == 'master ' }}
16
+ - name : Merge main -> development
17
+ if : ${{ steps.retrieve-branch-name.outputs.branch_name == 'main ' }}
18
18
uses : Codeinwp/merge-branch@master
19
19
with :
20
20
type : now
21
- from_branch : master
21
+ from_branch : main
22
22
target_branch : development
23
23
github_token : ${{ secrets.BOT_TOKEN }}
You can’t perform that action at this time.
0 commit comments