From c2872f3f646b76fae940ca77d46555784846a21a Mon Sep 17 00:00:00 2001 From: Bryan Richter Date: Fri, 28 Oct 2022 11:36:21 +0300 Subject: CI: Don't run lint-submods on nightly Fixes #22325 --- .gitlab-ci.yml | 3 +++ 1 file changed, 3 insertions(+) (limited to '.gitlab-ci.yml') diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 5fdbda2dc1..d32dbe3a21 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -287,6 +287,9 @@ lint-submods: rules: - if: '$CI_MERGE_REQUEST_LABELS =~ /.*marge_bot_batch_merge_job.*/' allow_failure: false + # Don't run on nightly because the program needs a base commit to check. + - if: $NIGHTLY + when: never - allow_failure: true lint-submods-branch: -- cgit v1.2.1