mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-24 12:41:16 +00:00
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.
This commit is contained in:
parent
81821978ae
commit
2782daadb4
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user