[gnome-user-docs/codespell-ci: 1/2] ci: Add codespell check




commit d461497c57d1b8a530d454fe26a7ef5b2fa8b36e
Author: Felipe Borges <felipeborges gnome org>
Date:   Fri Oct 2 15:29:04 2020 +0200

    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 | 5 +++++
 1 file changed, 5 insertions(+)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 227e8eb7..28e190fa 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -7,3 +7,8 @@ build-fedora:
     - ./autogen.sh ITSTOOL="/usr/bin/itstool --strict"
     - make
     - make check
+
+codespell:
+  image: registry.gitlab.gnome.org/gnome/gnome-user-docs:latest
+  script:
+    - codespell -S "*.png,*.po,.git,*.jpg" -f


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]