ci: Run git_archive job if all_paths matches
authorMichel Dänzer <mdaenzer@redhat.com>
Mon, 26 Oct 2020 17:05:49 +0000 (18:05 +0100)
committerMarge Bot <eric+marge@anholt.net>
Tue, 27 Oct 2020 09:21:32 +0000 (09:21 +0000)
The lack of this could break post-merge pipelines:
https://gitlab.freedesktop.org/mesa/mesa/-/pipelines/218636

(I missed this in
https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7278)

Reviewed-by: Daniel Stone <daniels@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7319>

.gitlab-ci.yml

index 36af74d..46e790e 100644 (file)
@@ -472,6 +472,8 @@ git_archive:
       when: always
     - if: *is-pre-merge
       when: on_success
+    - changes: *all_paths
+      when: on_success
     - if: *is-forked-branch
       when: manual
     # Other cases default to never