ci: Fix perf job condition.

We were supposed to be checking that the job had "performance" in the
name, not that the user (which we already checked is marge) has
"performance" in their name.

Fixes: f6c06ef2f6 ("ci: Add manual rules variations to disable irrelevant driver jobs.")
Reviewed-by: David Heidelberg <david.heidelberg@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21002>
This commit is contained in:
Emma Anholt 2023-01-30 15:53:31 -08:00 committed by Marge Bot
parent 5d1c693893
commit 51ea81c0a1

View file

@ -61,7 +61,7 @@
# performance jobs, see below.
- if: ('$GITLAB_USER_LOGIN == "marge-bot" &&
$CI_PIPELINE_SOURCE == "merge_request_event"' &&
$GITLAB_USER_LOGIN !~ "/performance$/")
$CI_JOB_NAME !~ "/performance$/")
when: never
- !reference [.scheduled_pipeline-rules, rules]
- changes: