From 0836e90418e11371a49f6c1004a8039a44392ea7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michel=20D=C3=A4nzer?= Date: Wed, 2 Sep 2020 18:39:52 +0200 Subject: [PATCH] ci: Don't create test-docs job if the pages one exists in the pipeline It's redundant in that case. Acked-by: Pierre-Eric Pelloux-Prayer Part-of: --- .gitlab-ci.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 15eb5c854a1..119d99dfe89 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -100,6 +100,9 @@ test-docs: stage: container+docs rules: - *ignore_scheduled_pipelines + - if: *is-main-master + changes: *docs-or-ci + when: never - if: *is-pre-merge-for-marge changes: *docs-or-ci when: on_success