See https://freedesktop.pages.freedesktop.org/ci-templates/ci-fairy.html#checking-commits
In this setup it will check for any leftover fixup!/squash! commits and
that messages don't have the 'Signed-off-by:' tag.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-ci/-/merge_requests/304>
+include:
+ - remote: "https://gitlab.freedesktop.org/freedesktop/ci-templates/-/raw/7ea696055e322cc7aa4bcbe5422b56a198c4bdff/templates/ci-fairy.yml"
+
stages:
- 'build docker'
- 'preparation'
fi
#
+# Check commit messages with ci-fairy
+#
+check commits:
+ extends: '.fdo.ci-fairy'
+ needs: []
+ stage: 'preparation'
+ variables:
+ GIT_STRATEGY: 'fetch'
+ script:
+ - ci-fairy check-commits --textwidth 0 --no-signed-off-by
+
+#
# gst-build setup templates
#
.gst_build_template: &gst_build