ci: Disallow legacy style in merge requests

In order to transition from the current legacy style to the modern
gjs one, use the MR line-filtering we used to do on common errors
to ensure new code complies with the new style.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/716
This commit is contained in:
Florian Müllner 2019-09-12 13:51:26 +02:00
parent e9131465dd
commit 1aca2ba6bb

View File

@ -96,6 +96,6 @@ if [ -z "$CI_MERGE_REQUEST_TARGET_BRANCH_NAME" ]; then
exit 0 exit 0
fi fi
copy_matched_lines $OUTPUT_FINAL $LINE_CHANGES $OUTPUT_MR copy_matched_lines $OUTPUT_REGULAR $LINE_CHANGES $OUTPUT_MR
cat $OUTPUT_MR cat $OUTPUT_MR
is_empty $OUTPUT_MR is_empty $OUTPUT_MR