Skip to content

Commit 2933a8c

Browse files
chore: Synced file(s) with googleworkspace/.github (#389)
* chore: Synced local '.github/sync-repo-settings.yaml' with remote 'sync-files/defaults/.github/sync-repo-settings.yaml' * chore: Synced local '.github/workflows/automation.yml' with remote 'sync-files/defaults/.github/workflows/automation.yml'
1 parent 72d4dbc commit 2933a8c

File tree

2 files changed

+2
-17
lines changed

2 files changed

+2
-17
lines changed

.github/sync-repo-settings.yaml

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -34,21 +34,6 @@ branchProtectionRules:
3434
- "conventionalcommits.org"
3535
requiredApprovingReviewCount: 1
3636
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
5237
permissionRules:
5338
- team: workspace-devrel-dpe
5439
permission: admin

.github/workflows/automation.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,12 +58,12 @@ jobs:
5858
- if: ${{ env.DEFAULT_BRANCH == 'main' && env.HAS_MASTER_BRANCH == 'true' }}
5959
name: Update master branch from main
6060
run: |
61-
git checkout -b master
61+
git checkout -B master
6262
git reset --hard origin/main
6363
git push origin master
6464
- if: ${{ env.DEFAULT_BRANCH == 'master'}}
6565
name: Update main branch from master
6666
run: |
67-
git checkout -b main
67+
git checkout -B main
6868
git reset --hard origin/master
6969
git push origin main

0 commit comments

Comments
 (0)