diff --git a/Jenkinsfile b/Jenkinsfile index 5c470c0fd..a2da4ee85 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -42,8 +42,9 @@ pipeline { } stage('Publish') { when { - anyOf { + allOf { branch 'main' + not { changeRequest() } } } stages {