File tree Expand file tree Collapse file tree 2 files changed +2
-17
lines changed Expand file tree Collapse file tree 2 files changed +2
-17
lines changed Original file line number Diff line number Diff line change @@ -34,21 +34,6 @@ branchProtectionRules:
34
34
- " conventionalcommits.org"
35
35
requiredApprovingReviewCount : 1
36
36
requiresCodeOwnerReviews : true
37
- - pattern : master
38
- isAdminEnforced : false
39
- requiresStrictStatusChecks : false
40
- requiredStatusCheckContexts :
41
- # .github/workflows/test.yml with a job called "test"
42
- - " test"
43
- # .github/workflows/lint.yml with a job called "lint"
44
- - " lint"
45
- # Google bots below
46
- - " cla/google"
47
- - " snippet-bot check"
48
- - " header-check"
49
- - " conventionalcommits.org"
50
- requiredApprovingReviewCount : 1
51
- requiresCodeOwnerReviews : true
52
37
permissionRules :
53
38
- team : workspace-devrel-dpe
54
39
permission : admin
Original file line number Diff line number Diff line change @@ -58,12 +58,12 @@ jobs:
58
58
- if : ${{ env.DEFAULT_BRANCH == 'main' && env.HAS_MASTER_BRANCH == 'true' }}
59
59
name : Update master branch from main
60
60
run : |
61
- git checkout master
61
+ git checkout -B master
62
62
git reset --hard origin/main
63
63
git push origin master
64
64
- if : ${{ env.DEFAULT_BRANCH == 'master'}}
65
65
name : Update main branch from master
66
66
run : |
67
- git checkout -b main
67
+ git checkout -B main
68
68
git reset --hard origin/master
69
69
git push origin main
You can’t perform that action at this time.
0 commit comments