The release notes regex currently expects the release note code bracket to be named "release-note" followed by a newline character. If a PR author names the code bracket "release-notes" then the regex will match against that and logic that's responsible for extracting the body within that release note bracket breaks. See kgateway-dev/kgateway#11264 for a concrete reference.