build: run note check not on master
@@ -359,7 +359,7 @@ def build_todo() {
def build_check_release_notes() {
def stage_name = "check-release-notes"
return [(stage_name): {
- stage(stage_name) {
+ maybeStage(stage_name, !isMaster()) {
withDockerEnv(DOCKER_IMAGES.stretch) {
sh "scripts/run_check_release_notes"
deleteDir()
