diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 91e92ae2..c8b53bb9 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -259,6 +259,11 @@ check-layers: 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