diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 3adea45e..e2256145 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -255,6 +255,11 @@ n1sdp: pending-updates: extends: .setup + # Only run this job for the default branch (master), or if forced with + # BUILD_FORCE_PENDING_UPDATES. + rules: + - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH + - if: $BUILD_FORCE_PENDING_UPDATES != null artifacts: paths: - update-report