From 87feebf827f73cebd55bc6111357f65dbbc3a1dc Mon Sep 17 00:00:00 2001 From: Guillaume Desmottes Date: Thu, 11 Jun 2020 15:16:09 +0200 Subject: [PATCH] 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. --- .gitlab-ci.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 8bbdc58bf..9ec489038 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -94,6 +94,12 @@ rustfmt: - cargo fmt --version - cargo fmt -- --color=always --check +check commits: + extends: .img-stable + stage: "lint" + script: + - ci-fairy check-commits --textwidth 0 --no-signed-off-by + outdated: extends: .img-stable allow_failure: true