disable stable-website auto cherry-pick until replatform is merged into stable-website (#7726)

pull/7730/head
Alvin Huang 2020-04-28 17:01:51 -04:00 committed by GitHub
parent 0d6aff29f6
commit 30acb31035
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 5 deletions

View File

@ -100,13 +100,14 @@ for label in $labels; do
git config --local user.email "hashicorp-ci@users.noreply.github.com" git config --local user.email "hashicorp-ci@users.noreply.github.com"
git config --local user.name "hashicorp-ci" git config --local user.name "hashicorp-ci"
status "checking label: $label" 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 the label matches docs-cherrypick, it will attempt to cherry-pick to stable-website
if [[ $label == docs-cherrypick ]]; then # if [[ $label == docs-cherrypick ]]; then
status "backporting to stable-website" # status "backporting to stable-website"
branch="stable-website" # branch="stable-website"
cherry_pick_with_slack_notification "$branch" "$CIRCLE_SHA1" "$pr_url" # 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 # 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" status "backporting to $label"
branch="${label/backport/release}.x" branch="${label/backport/release}.x"
cherry_pick_with_slack_notification "$branch" "$CIRCLE_SHA1" "$pr_url" cherry_pick_with_slack_notification "$branch" "$CIRCLE_SHA1" "$pr_url"