gitlab-ci: Use single if for manual job rules entry
authorMichel Dänzer <mdaenzer@redhat.com>
Mon, 20 Jan 2020 17:39:50 +0000 (18:39 +0100)
committerMarge Bot <eric+marge@anholt.net>
Wed, 22 Jan 2020 16:42:11 +0000 (16:42 +0000)
commit5a6a88f58ce23de1d0caddb26e456d89a08321a5
tree4ea8076e8549e4e6731606fb5ed981cd7e41de20
parent2dd0cc60f1faaabcd694b0656d9b387f86420d03
gitlab-ci: Use single if for manual job rules entry

I thought multiple ifs would all need to match, but looks like only the
last one (or either one?) does.

This should prevent a manual pipeline from getting created after merging
changes which can't affect the pipeline.

Reviewed-by: Eric Engestrom <eric@engestrom.ch>
Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3474>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3474>
.gitlab-ci.yml