From c89b2826234d6885e2e5d6a897187a92a5587376 Mon Sep 17 00:00:00 2001 From: Philip Withnall Date: Thu, 25 Jan 2024 20:31:34 +0000 Subject: [PATCH] ci: Fix post-merge CI pipelines MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Don’t allow the `pages` job to be run (even manually) on post-merge pipelines. It’s not particularly useful, and GitLab doesn’t like having a manual job with unsatisfied dependencies in a pipeline: ``` 'pages' job needs 'coverage' job, but 'coverage' is not in any previous stage 'pages' job needs 'style-check-advisory' job, but 'style-check-advisory' is not in any previous stage ``` See https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3847#note_1986044 Signed-off-by: Philip Withnall --- .gitlab-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index bfbb7d60f..2827579b7 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -735,7 +735,7 @@ scan-build: - "cov-int/build-log.txt" pages: - extends: .only-schedules-or-manual-in-default-branch + extends: .only-schedules stage: deploy needs: ['coverage', 'style-check-advisory'] script: