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 63961047c5e2..b84a3bc0bc55 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