From 5c8f0825a1ed517646d760604e1366b2ed65d7bd Mon Sep 17 00:00:00 2001 From: Tim Swast Date: Tue, 27 Jul 2021 12:04:45 -0500 Subject: [PATCH 1/3] chore: protect v3.x.x branch In preparation for breaking changes. --- .github/sync-repo-settings.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/sync-repo-settings.yaml b/.github/sync-repo-settings.yaml index b18fb9c29..eaea0fed7 100644 --- a/.github/sync-repo-settings.yaml +++ b/.github/sync-repo-settings.yaml @@ -3,7 +3,7 @@ branchProtectionRules: # Identifies the protection rule pattern. Name of the branch to be protected. # Defaults to `master` -- pattern: master +- pattern: {master,v3.x.x} requiredStatusCheckContexts: - 'Kokoro' - 'Kokoro snippets-3.8' From ca04a94f6fddebaa97b58b9ccad34e9d9026f8a7 Mon Sep 17 00:00:00 2001 From: Tim Swast Date: Tue, 27 Jul 2021 12:07:06 -0500 Subject: [PATCH 2/3] force pattern to be a string --- .github/sync-repo-settings.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/sync-repo-settings.yaml b/.github/sync-repo-settings.yaml index eaea0fed7..943c09df3 100644 --- a/.github/sync-repo-settings.yaml +++ b/.github/sync-repo-settings.yaml @@ -3,7 +3,7 @@ branchProtectionRules: # Identifies the protection rule pattern. Name of the branch to be protected. # Defaults to `master` -- pattern: {master,v3.x.x} +- pattern: '{master,v3.x.x}' requiredStatusCheckContexts: - 'Kokoro' - 'Kokoro snippets-3.8' From 66e446c6afe549fc1d1e7c3407da2939c8972788 Mon Sep 17 00:00:00 2001 From: Tim Swast Date: Tue, 27 Jul 2021 12:27:24 -0500 Subject: [PATCH 3/3] simplify branch name --- .github/sync-repo-settings.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/sync-repo-settings.yaml b/.github/sync-repo-settings.yaml index 943c09df3..2697f214c 100644 --- a/.github/sync-repo-settings.yaml +++ b/.github/sync-repo-settings.yaml @@ -3,7 +3,7 @@ branchProtectionRules: # Identifies the protection rule pattern. Name of the branch to be protected. # Defaults to `master` -- pattern: '{master,v3.x.x}' +- pattern: '{master,v3}' requiredStatusCheckContexts: - 'Kokoro' - 'Kokoro snippets-3.8'