From 2782daadb4474188c1226ecaa6d82631263fd444 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rene=CC=81=20de=20Hesselle?= Date: Sat, 26 Aug 2023 01:56:59 +0200 Subject: [PATCH] ci: Do not create macOS jobs for forks The runner is not available in forks (on purpose / for security reasons), so jobs created there will be stuck indefinitely until they timeout and fail the pipeline, which is undesireable. That also means that the initial goal to enable macOS jobs for all MRs is out of reach: if you are an external contributor (read: non-project member), your MR pipelines run in your fork, therefore have no access to the runner. --- .gitlab-ci.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 0cbf0cd7d7..87fc43dc39 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -207,9 +207,7 @@ msys2-mingw64: macos-x86_64: rules: - # run merge request pipelines - - if: $CI_PIPELINE_SOURCE == "merge_request_event" - # do not run in forks + # Do not run in forks as the runner is not available there. - if: $CI_PROJECT_NAMESPACE == "GNOME" stage: build tags: