Skip to content

Commit

Permalink
Merge #87537
Browse files Browse the repository at this point in the history
87537: release-22.2: build: disable release justification r=kpatron-cockroachlabs a=blathers-crl[bot]

Backport 1/1 commits from #86757 on behalf of `@kpatron-cockroachlabs.`

/cc `@cockroachdb/release`

----

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

----

Release justification:

Co-authored-by: Kyle Patron <[email protected]>
  • Loading branch information
craig[bot] and kpatron-cockroachlabs committed Sep 8, 2022
2 parents 6025a1e + 6d2ec73 commit f8e04f3
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=1
require_justification=0
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=1
require_justification=0
set -euo pipefail

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

0 comments on commit f8e04f3

Please sign in to comment.