mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-25 01:30:38 +00:00
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:
parent
54fb9ee553
commit
fa74785d27
1 changed files with 6 additions and 0 deletions
|
@ -265,6 +265,12 @@ gst indent:
|
|||
echo 'style diverges, please run gst-indent first'
|
||||
exit 1
|
||||
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
|
||||
|
|
Loading…
Reference in a new issue