From a84ab2333f6e1251ca50385cefeee1b5533b4ad0 Mon Sep 17 00:00:00 2001 From: Alvin Huang <17609145+alvin-huang@users.noreply.github.com> Date: Tue, 28 Apr 2020 17:01:51 -0400 Subject: [PATCH] disable stable-website auto cherry-pick until replatform is merged into stable-website (#7726) --- .circleci/scripts/cherry-picker.sh | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/.circleci/scripts/cherry-picker.sh b/.circleci/scripts/cherry-picker.sh index 2c897ea5b..5ce06d99e 100755 --- a/.circleci/scripts/cherry-picker.sh +++ b/.circleci/scripts/cherry-picker.sh @@ -100,13 +100,14 @@ for label in $labels; do git config --local user.email "hashicorp-ci@users.noreply.github.com" git config --local user.name "hashicorp-ci" status "checking label: $label" + # TODO: enable this when replatform is merged into stable-website # if the label matches docs-cherrypick, it will attempt to cherry-pick to stable-website - if [[ $label == docs-cherrypick ]]; then - status "backporting to stable-website" - branch="stable-website" - cherry_pick_with_slack_notification "$branch" "$CIRCLE_SHA1" "$pr_url" + # if [[ $label == docs-cherrypick ]]; then + # status "backporting to stable-website" + # branch="stable-website" + # cherry_pick_with_slack_notification "$branch" "$CIRCLE_SHA1" "$pr_url" # else if the label matches backport/*, it will attempt to cherry-pick to the release branch - elif [[ $label =~ backport/* ]]; then + if [[ $label =~ backport/* ]]; then status "backporting to $label" branch="${label/backport/release}.x" cherry_pick_with_slack_notification "$branch" "$CIRCLE_SHA1" "$pr_url"