From 87d902592c9b19c1d17ea1cef1419e8b8d55a6a7 Mon Sep 17 00:00:00 2001 From: Celia La Date: Thu, 9 Sep 2021 12:29:38 -0400 Subject: [PATCH] build: disable required release justifications release-21.2 is cut. Release note: None --- build/teamcity-check.sh | 2 +- githooks/commit-msg | 2 +- githooks/prepare-commit-msg | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/build/teamcity-check.sh b/build/teamcity-check.sh index 32b16cf3b0a2..eaf870721db5 100755 --- a/build/teamcity-check.sh +++ b/build/teamcity-check.sh @@ -2,7 +2,7 @@ # Set this to 1 to require a "release justification" note in the commit message # or the PR description. -require_justification=1 +require_justification=0 set -euo pipefail diff --git a/githooks/commit-msg b/githooks/commit-msg index ef9ba1a953bc..634d1c71feb7 100755 --- a/githooks/commit-msg +++ b/githooks/commit-msg @@ -52,7 +52,7 @@ IFS=' notes=($($grep -iE '^release note' "$1")) # Set this to 1 to require a release justification note. -require_justification=1 +require_justification=0 justification=($($grep -iE '^release justification: \S+' "$1")) IFS=$saveIFS diff --git a/githooks/prepare-commit-msg b/githooks/prepare-commit-msg index 5b297a71ee70..d71a170926a7 100755 --- a/githooks/prepare-commit-msg +++ b/githooks/prepare-commit-msg @@ -2,7 +2,7 @@ # # Prepare the commit message by adding a release note. -require_justification=1 +require_justification=0 set -euo pipefail if [[ "${2-}" = "message" ]]; then