ci: check commit using ci-fairy

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>
This commit is contained in:
Guillaume Desmottes 2020-06-11 14:45:24 +02:00 committed by Jordan Petridis
parent e8d4d1f3ad
commit 12c1689aaa

View file

@ -1,3 +1,6 @@
include:
- remote: "https://gitlab.freedesktop.org/freedesktop/ci-templates/-/raw/7ea696055e322cc7aa4bcbe5422b56a198c4bdff/templates/ci-fairy.yml"
stages:
- 'build docker'
- 'preparation'
@ -388,6 +391,18 @@ gst indent:
exit 1
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
#