gitlab-ci: run clang-format only on MRs
commitc3692afcf251c945154aa90f9d9f1527f641a6eb
authorEmil Velikov <emil.l.velikov@gmail.com>
Sun, 1 Oct 2023 14:47:58 +0000 (1 15:47 +0100)
committerEmil Velikov <emil.l.velikov@gmail.com>
Mon, 2 Oct 2023 12:25:18 +0000 (2 13:25 +0100)
treecd3764dc15e54daa3d83dfd3f1fbacf41f5eda04
parent3af1462a334bfb27ca43008fd47f95d64fa8725f
gitlab-ci: run clang-format only on MRs

We need a proper range to correctly check for issues. As-is it runs on
all pushes and since CI does some fancy caching, the MRs will be stuck
(if failing).

Closes: https://gitlab.freedesktop.org/mesa/waffle/-/issues/118
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
.gitlab-ci.yml