From 100120f9189f0f2b053d3cd1b681747a8a242f83 Mon Sep 17 00:00:00 2001 From: Sydney Munro <97561403+sydney-munro@users.noreply.github.com> Date: Wed, 1 Feb 2023 15:02:23 -0800 Subject: [PATCH 1/2] feat: setting up 2.15.x --- .github/release-please.yml | 4 ++++ .github/sync-repo-settings.yaml | 17 +++++++++++++++++ 2 files changed, 21 insertions(+) diff --git a/.github/release-please.yml b/.github/release-please.yml index e8fcfe4c58..57c7d5135d 100644 --- a/.github/release-please.yml +++ b/.github/release-please.yml @@ -26,3 +26,7 @@ branches: handleGHRelease: true releaseType: java-backport branch: 2.6.x + - bumpMinorPreMajor: true + handleGHRelease: true + releaseType: java-backport + branch: 2.15.x diff --git a/.github/sync-repo-settings.yaml b/.github/sync-repo-settings.yaml index b8ed0d54ff..ea4e071d46 100644 --- a/.github/sync-repo-settings.yaml +++ b/.github/sync-repo-settings.yaml @@ -80,6 +80,23 @@ branchProtectionRules: - OwlBot Post Processor - 'Kokoro - Test: Java GraalVM Native Image' - 'Kokoro - Test: Java 17 GraalVM Native Image' + - pattern: 2.15.x + isAdminEnforced: true + requiredApprovingReviewCount: 1 + requiresCodeOwnerReviews: true + requiresStrictStatusChecks: false + 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' permissionRules: - team: yoshi-admins permission: admin From 9ba6458dde57295b1d23358430b2508854ed4c79 Mon Sep 17 00:00:00 2001 From: Owl Bot Date: Wed, 1 Feb 2023 23:05:09 +0000 Subject: [PATCH 2/2] =?UTF-8?q?=F0=9F=A6=89=20Updates=20from=20OwlBot=20po?= =?UTF-8?q?st-processor?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md --- .../src/main/java/com/example/storage/object/UploadObject.java | 1 - 1 file changed, 1 deletion(-) diff --git a/samples/snippets/src/main/java/com/example/storage/object/UploadObject.java b/samples/snippets/src/main/java/com/example/storage/object/UploadObject.java index d1f88007dc..6fa796d62f 100644 --- a/samples/snippets/src/main/java/com/example/storage/object/UploadObject.java +++ b/samples/snippets/src/main/java/com/example/storage/object/UploadObject.java @@ -23,7 +23,6 @@ import com.google.cloud.storage.Storage; import com.google.cloud.storage.StorageOptions; import java.io.IOException; -import java.nio.file.Files; import java.nio.file.Paths; public class UploadObject {