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/2063>
This commit is contained in:
Tim-Philipp Müller 2022-03-29 19:26:34 +01:00 committed by GStreamer Marge Bot
parent b6f134f445
commit 5ba4fe690c

View file

@ -266,6 +266,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