xref: /aosp_15_r20/external/google-cloud-java/java-recommendations-ai/sync-repo-settings.yaml (revision 55e87721aa1bc457b326496a7ca40f3ea1a63287)
1
2# Whether or not rebase-merging is enabled on this repository.
3# Defaults to `true`
4rebaseMergeAllowed: false
5
6# Whether or not squash-merging is enabled on this repository.
7# Defaults to `true`
8squashMergeAllowed: true
9
10# Whether or not PRs are merged with a merge commit on this repository.
11# Defaults to `false`
12mergeCommitAllowed: false
13
14# Rules for master branch protection
15branchProtectionRules:
16# Identifies the protection rule pattern. Name of the branch to be protected.
17# Defaults to `master`
18- pattern: master
19  # Can admins overwrite branch protection.
20  # Defaults to `true`
21  isAdminEnforced: true
22  # Number of approving reviews required to update matching branches.
23  # Defaults to `1`
24  requiredApprovingReviewCount: 1
25  # Are reviews from code owners required to update matching branches.
26  # Defaults to `false`
27  requiresCodeOwnerReviews: true
28  # Require up to date branches
29  requiresStrictStatusChecks: false
30  # List of required status check contexts that must pass for commits to be accepted to matching branches.
31  requiredStatusCheckContexts:
32    - "dependencies (8)"
33    - "dependencies (11)"
34    - "linkage-monitor"
35    - "lint"
36    - "clirr"
37    - "units (7)"
38    - "units (8)"
39    - "units (11)"
40    - "Kokoro - Test: Integration"
41    - "cla/google"
42# List of explicit permissions to add (additive only)
43permissionRules:
44- team: yoshi-admins
45  permission: admin
46- team: yoshi-java-admins
47  permission: admin
48- team: yoshi-java
49  permission: push
50