From 78e61668cce74702b54bdf35bfdb14e1f1df6cb0 Mon Sep 17 00:00:00 2001 From: Mridula <66699525+mpeddada1@users.noreply.github.com> Date: Mon, 11 Jul 2022 14:47:49 -0400 Subject: [PATCH] chore: add native image checks as required (#700) --- java-compute/.github/sync-repo-settings.yaml | 79 ++++++++++---------- 1 file changed, 40 insertions(+), 39 deletions(-) diff --git a/java-compute/.github/sync-repo-settings.yaml b/java-compute/.github/sync-repo-settings.yaml index 662de8196ad7..b75ba149f695 100644 --- a/java-compute/.github/sync-repo-settings.yaml +++ b/java-compute/.github/sync-repo-settings.yaml @@ -1,4 +1,3 @@ - # Whether or not rebase-merging is enabled on this repository. # Defaults to `true` rebaseMergeAllowed: false @@ -15,59 +14,61 @@ mergeCommitAllowed: false branchProtectionRules: # Identifies the protection rule pattern. Name of the branch to be protected. # Defaults to `main` -- pattern: main + - pattern: main # Can admins overwrite branch protection. # Defaults to `true` - isAdminEnforced: true + isAdminEnforced: true # Number of approving reviews required to update matching branches. # Defaults to `1` - requiredApprovingReviewCount: 1 + requiredApprovingReviewCount: 1 # Are reviews from code owners required to update matching branches. # Defaults to `false` - requiresCodeOwnerReviews: true + requiresCodeOwnerReviews: true # Require up to date branches - requiresStrictStatusChecks: false + requiresStrictStatusChecks: false # List of required status check contexts that must pass for commits to be accepted to matching branches. - requiredStatusCheckContexts: - - "dependencies (8)" - - "dependencies (11)" - - "lint" - - "clirr" - - "units (8)" - - "units (11)" - - "Kokoro - Test: Integration" - - "cla/google" - - OwlBot Post Processor -- pattern: 0.x-alpha + requiredStatusCheckContexts: + - dependencies (8) + - dependencies (11) + - lint + - clirr + - units (8) + - units (11) + - 'Kokoro - Test: Integration' + - cla/google + - OwlBot Post Processor + - 'Kokoro - Test: Java GraalVM Native Image' + - 'Kokoro - Test: Java 17 GraalVM Native Image' + - pattern: 0.x-alpha # Can admins overwrite branch protection. # Defaults to `true` - isAdminEnforced: true + isAdminEnforced: true # Number of approving reviews required to update matching branches. # Defaults to `1` - requiredApprovingReviewCount: 1 + requiredApprovingReviewCount: 1 # Are reviews from code owners required to update matching branches. # Defaults to `false` - requiresCodeOwnerReviews: true + requiresCodeOwnerReviews: true # Require up to date branches - requiresStrictStatusChecks: false + requiresStrictStatusChecks: false # List of required status check contexts that must pass for commits to be accepted to matching branches. - requiredStatusCheckContexts: - - "dependencies (8)" - - "dependencies (11)" - - "lint" - - "clirr" - - "units (7)" - - "units (8)" - - "units (11)" - - "Kokoro - Test: Integration" - - "cla/google" + requiredStatusCheckContexts: + - dependencies (8) + - dependencies (11) + - lint + - clirr + - units (7) + - units (8) + - units (11) + - 'Kokoro - Test: Integration' + - cla/google # List of explicit permissions to add (additive only) permissionRules: -- team: yoshi-admins - permission: admin -- team: yoshi-java-admins - permission: admin -- team: yoshi-java - permission: push -- team: actools-java - permission: admin + - team: yoshi-admins + permission: admin + - team: yoshi-java-admins + permission: admin + - team: yoshi-java + permission: push + - team: actools-java + permission: admin