ci: Don't exclude "success" job from mesa/mesa pipelines for MRs

Since the last GitLab update, pre-merge pipelines for MRs run in the
mesa/mesa namespace, so this job didn't get created anymore, causing
trouble.

Reviewed-by: Daniel Stone <daniels@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6522>
This commit is contained in:
Michel Dänzer 2020-08-31 18:49:42 +02:00 committed by Marge Bot
parent f13f32f83f
commit 0308e639cf
1 changed files with 1 additions and 1 deletions

View File

@ -119,7 +119,7 @@ success:
image: debian:stable-slim
rules:
- *ignore_scheduled_pipelines
- if: '$CI_PROJECT_NAMESPACE == "mesa"'
- if: '$CI_PROJECT_NAMESPACE == "mesa" && $CI_MERGE_REQUEST_SOURCE_BRANCH_NAME != $CI_COMMIT_REF_NAME'
when: never
- if: '$GITLAB_USER_LOGIN == "marge-bot"'
changes: *docs-or-ci