From daf9a9d53a3582e04e43ab5387eaa1a8c495a38b Mon Sep 17 00:00:00 2001 From: Kyle Patron Date: Wed, 24 Aug 2022 10:04:50 -0400 Subject: [PATCH] build: disable release justification Once the release-22.2 branch is cut we can disable release justification githook check and let blathers justification check take over. Notes: * to be merged after the release 22.2 branch cut * `blathers/release-justification-check` will pass after `STABILITY_PERIOD` is turned off [as part of the branch cut playbook] Release note: None Release justification: internal-only / non-production / release-process code change --- githooks/commit-msg | 2 +- githooks/prepare-commit-msg | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/githooks/commit-msg b/githooks/commit-msg index dfb1b02da454..146aed08dfb9 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 cb69ded5ce23..1a24e426bd2a 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