From 5ed6461b9d9aae679a89e10c47d185ebd4046261 Mon Sep 17 00:00:00 2001 From: Felipe Borges Date: Fri, 2 Oct 2020 15:29:04 +0200 Subject: ci: Add codespell check This CI job will fail if codespell discovers typos in the merge request. See https://belmoussaoui.com/article/14-integrate-codespell-ci --- .gitlab-ci.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 227e8eb7..b15a0fbb 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -7,3 +7,10 @@ build-fedora: - ./autogen.sh ITSTOOL="/usr/bin/itstool --strict" - make - make check + +codespell: + image: registry.gitlab.gnome.org/gnome/gnome-user-docs:latest + when: manual + allow_failure: true + script: + - codespell -S "*.png,*.po,.git,*.jpg" -f -- cgit v1.2.1