Skip to content

Commit

Permalink
build: enable required release justifications for stability period
Browse files Browse the repository at this point in the history
Addresses RE-235.

To begin stability period for the 22.2 release.

Will merge Sunday night.

Release justification: non-production code change
Release note: None
  • Loading branch information
matthewtodd committed Aug 16, 2022
1 parent 8f1b11e commit 2483872
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion githooks/commit-msg
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ IFS='
notes=($($grep -iE '^release note' "$1"))

# Set this to 1 to require a release justification note.
require_justification=0
require_justification=1
justification=($($grep -iE '^release justification: \S+' "$1"))

IFS=$saveIFS
Expand Down
2 changes: 1 addition & 1 deletion githooks/prepare-commit-msg
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#
# Prepare the commit message by adding a release note.

require_justification=0
require_justification=1
set -euo pipefail

if [[ "${2-}" = "message" ]]; then
Expand Down

0 comments on commit 2483872

Please sign in to comment.