Skip to content

Commit

Permalink
chore: Add sync-repo-settings.yaml config (#2803)
Browse files Browse the repository at this point in the history
* chore: Add sync-repo-settings.yaml config

* chore: Only allow squash merge

* chore: Add Cloud Java team as Admin

* chore: Add all native tests as required for main branch
  • Loading branch information
lqiu96 authored May 1, 2024
1 parent 98acaaf commit 7157231
Showing 1 changed file with 84 additions and 0 deletions.
84 changes: 84 additions & 0 deletions .github/sync-repo-settings.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,84 @@
rebaseMergeAllowed: false
squashMergeAllowed: true
mergeCommitAllowed: false
branchProtectionRules:
- pattern: main
isAdminEnforced: true
requiredStatusCheckContexts:
- 'cla/google'
- 'unitTests (17)'
- 'unitTests (19)'
- 'unitTests (21)'
- 'releaseCheck'
- 'conventionalcommits.org'
- 'SonarCloud Code Analysis'
- 'parallel-NativeTests (alloydb-sample)'
- 'parallel-NativeTests (bigquery-sample)'
- 'parallel-NativeTests (bigquery)'
- 'parallel-NativeTests (core)'
- 'parallel-NativeTests (data-firestore)'
- 'parallel-NativeTests (data-firestore-sample)'
- 'parallel-NativeTests (datastore)'
- 'parallel-NativeTests (datastore-basic-sample)'
- 'parallel-NativeTests (kms)'
- 'parallel-NativeTests (kms-sample)'
- 'parallel-NativeTests (logging-sample)'
- 'parallel-NativeTests (metrics-sample)'
- 'parallel-NativeTests (pubsub-sample)'
- 'parallel-NativeTests (pubsub-bus-sample)'
- 'parallel-NativeTests (pubsub-integration-sample)'
- 'parallel-NativeTests (secretmanager)'
- 'parallel-NativeTests (secretmanager-sample)'
- 'parallel-NativeTests (spanner)'
- 'parallel-NativeTests (sql-mysql-sample)'
- 'parallel-NativeTests (sql-postgres-sample)'
- 'parallel-NativeTests (starter-firestore-sample)'
- 'parallel-NativeTests (storage)'
- 'parallel-NativeTests (storage-sample)'
- 'parallel-NativeTests (trace-sample)'
- 'parallel-NativeTests (vision)'
- 'parallel-NativeTests (vision-sample)'
requiredApprovingReviewCount: 1
requiresCodeOwnerReviews: true
requiresStrictStatusChecks: false
- pattern: 4.x
isAdminEnforced: true
requiredStatusCheckContexts:
- 'cla/google'
- 'unitTests (17)'
- 'unitTests (19)'
- 'unitTests (21)'
- 'releaseCheck'
- 'conventionalcommits.org'
- 'SonarCloud Code Analysis'
requiredApprovingReviewCount: 1
requiresCodeOwnerReviews: true
requiresStrictStatusChecks: false
- pattern: 3.x
isAdminEnforced: true
requiredStatusCheckContexts:
- 'cla/google'
- 'unitTests (8)'
- 'unitTests (11)'
- 'unitTests (17)'
- 'releaseCheck'
- 'conventionalcommits.org'
- 'SonarCloud Code Analysis'
requiredApprovingReviewCount: 1
requiresCodeOwnerReviews: true
requiresStrictStatusChecks: false
- pattern: 2.x
isAdminEnforced: true
requiredStatusCheckContexts:
- 'cla/google'
- 'unitTests (8)'
- 'unitTests (11)'
- 'unitTests (17)'
- 'releaseCheck'
- 'conventionalcommits.org'
requiredApprovingReviewCount: 1
requiresCodeOwnerReviews: true
requiresStrictStatusChecks: false
permissionRules:
- team: cloud-java-team-teamsync
permission: admin

0 comments on commit 7157231

Please sign in to comment.