Kaynağa Gözat

gitlab-ci: avoid failing dependent steps

This avoids making busted jobs if a prerequisite fails.
Ben Boeckel 5 yıl önce
ebeveyn
işleme
726766713b
1 değiştirilmiş dosya ile 2 ekleme ve 2 silme
  1. 2 2
      .gitlab/rules.yml

+ 2 - 2
.gitlab/rules.yml

@@ -12,7 +12,7 @@
 .run_automatically:
 .run_automatically:
     rules:
     rules:
         - if: '$CI_PROJECT_PATH == "cmake/cmake"'
         - if: '$CI_PROJECT_PATH == "cmake/cmake"'
-          when: always
+          when: on_success
         - if: '$CI_MERGE_REQUEST_ID'
         - if: '$CI_MERGE_REQUEST_ID'
-          when: always
+          when: on_success
         - when: never
         - when: never