Merge branch 'disable-post-merge-ci' into 'main'

ci: Don’t run pipeline after merging a MR

See merge request GNOME/glib!3432
This commit is contained in:
Philip Withnall 2023-08-12 19:23:37 +00:00
commit 1de94bdd6f

View File

@ -19,11 +19,18 @@ variables:
G_MESSAGES_DEBUG: all G_MESSAGES_DEBUG: all
MESON_COMMON_OPTIONS: "--buildtype debug --wrap-mode=nodownload --fatal-meson-warnings" MESON_COMMON_OPTIONS: "--buildtype debug --wrap-mode=nodownload --fatal-meson-warnings"
# Default CI job setup; contrast with `.only-origin`.
#
# Dont execute the pipeline when a merge request is merged into `main`, as it
# will have already been tested
.only-default: .only-default:
only: only:
- branches - branches
except: except:
refs:
- tags - tags
variables:
- $CI_PIPELINE_SOURCE == "push" && $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
# Some jobs run on CI runners which dont have good isolation between CI jobs, # Some jobs run on CI runners which dont have good isolation between CI jobs,
# and dont have much available resource. Limit those jobs to only ones on the # and dont have much available resource. Limit those jobs to only ones on the