func releaseNoteFromParentPR(body string) string {
	potentialMatch := releaseNoteRe.FindStringSubmatch(body)
	if potentialMatch == nil {
		return ""
	}
	return fmt.Sprintf("```release-note\n%s\n```", strings.TrimSpace(potentialMatch[1]))
}
func releaseNoteFromParentPR(body string) string {
	potentialMatch := releaseNoteRe.FindStringSubmatch(body)
	if potentialMatch == nil {
		return ""
	}
	return fmt.Sprintf("```release-note\n%s\n```", strings.TrimSpace(potentialMatch[1]))
}
func releaseNoteFromParentPR ( body string ) string { potentialMatch := releaseNoteRe . FindStringSubmatch ( body ) if potentialMatch == nil { return " " } return fmt . Sprintf ( " \n \n " , strings . TrimSpace ( potentialMatch [ 1 ] ) ) }
// releaseNoteNoteFromParentPR gets the release note from the
// parent PR and formats it as per the PR template so that
// it can be copied to the cherry-pick PR.
releaseNoteNoteFromParentPR gets the release note from the parent PR and formats it as per the PR template so that it can be copied to the cherry - pick PR .