clang-format: fix the post-merge commit range
commit9669dd4b1629759b28bfcd23dd7a50e3e8e213eb
authorEmil Velikov <emil.l.velikov@gmail.com>
Sun, 29 Oct 2023 18:16:21 +0000 (29 18:16 +0000)
committerEmil Velikov <emil.l.velikov@gmail.com>
Sun, 29 Oct 2023 18:29:46 +0000 (29 18:29 +0000)
tree25fd92f3532da675008e6d566fa5663662fa1ef2
parent86b261f671fda49d5163e9d4e9715cb86f8b7ac3
clang-format: fix the post-merge commit range

Pick some tricks from holo - we need stricter CI check. More
importantly, once in post-merge we have other variables.

Namely: CI_COMMIT_BRANCH and CI_COMMIT_BEFORE_SHA

Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
(cherry picked from commit e006a34fa354d2dcb00e0666f04c05397b1a57ec)
.gitlab-ci/clang-format.sh