diff options
author | Felipe Borges <felipeborges@gnome.org> | 2020-10-02 15:29:04 +0200 |
---|---|---|
committer | Petr Kovář <pknbe@volny.cz> | 2023-03-20 16:10:43 +0000 |
commit | 5ed6461b9d9aae679a89e10c47d185ebd4046261 (patch) | |
tree | aa9342c58ece5e4813b61179d81a78359023f80a | |
parent | cae8125d525351db77dd550ff5b5d8b7468400bf (diff) | |
download | gnome-user-docs-5ed6461b9d9aae679a89e10c47d185ebd4046261.tar.gz |
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
-rw-r--r-- | .gitlab-ci.yml | 7 |
1 files changed, 7 insertions, 0 deletions
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 |