ci: Don't check indentation on post merge pipelines

We're probably safe to assume that it hasn't changed
since the MR pipeline last checked it.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2106>
This commit is contained in:
Tim-Philipp Müller 2022-03-29 19:26:34 +01:00 committed by GStreamer Marge Bot
parent 54fb9ee553
commit fa74785d27

View file

@ -265,6 +265,12 @@ gst indent:
echo 'style diverges, please run gst-indent first' echo 'style diverges, please run gst-indent first'
exit 1 exit 1
fi fi
rules:
# Don't check indentation on post merge pipelines
- if: '$CI_PROJECT_NAMESPACE == "gstreamer" && $CI_COMMIT_BRANCH == $GST_UPSTREAM_BRANCH'
when: 'manual'
- if: '$CI_PROJECT_NAMESPACE != "gstreamer" || $CI_COMMIT_BRANCH != $GST_UPSTREAM_BRANCH'
when: 'always'
# #
# build setup templates # build setup templates