diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index c62009557b2f0a5fc0555b64dc01e8d6cda834df..6dad57ef9aec7d25a3e8a1ea6e0a277e4c688e58 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -71,6 +71,17 @@ rustfmt: - if: $CI_PIPELINE_SOURCE == 'merge_request_event' - if: $CI_PIPELINE_SOURCE == 'push' && $CI_COMMIT_REF_NAME == 'main' +typos: + stage: lint + script: + - cargo install typos-cli + - typos + extends: + - .stable + rules: + - if: $CI_PIPELINE_SOURCE == 'merge_request_event' + - if: $CI_PIPELINE_SOURCE == 'push' && $CI_COMMIT_REF_NAME == 'main' + changelog-update: stage: lint image: alpine:latest