diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 6facf4d386..be4098b27d 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -95,9 +95,9 @@ u:cmake.org-help: # Lint builds -l:codespell: +l:spellcheck: extends: - - .cmake_codespell_linux + - .cmake_spellcheck_linux - .linux_x86_64_tags - .run_automatically diff --git a/.gitlab/ci/codespell.sh b/.gitlab/ci/codespell.sh index fd052bd0aa..fff0b3650d 100755 --- a/.gitlab/ci/codespell.sh +++ b/.gitlab/ci/codespell.sh @@ -3,12 +3,13 @@ set -e result=0 -echo "Running codespell on source code..." + +echo "Running 'codespell' on source code..." codespell || result=1 if [ -n "$CI_MERGE_REQUEST_DIFF_BASE_SHA" ]; then for COMMIT in $(git rev-list "^$CI_MERGE_REQUEST_DIFF_BASE_SHA" "$CI_COMMIT_SHA"); do - echo "Running codespell on commit message of $COMMIT..." + echo "Running 'codespell' on commit message of $COMMIT..." git show --format=%B -s "$COMMIT" | codespell - || result=1 done fi diff --git a/.gitlab/os-linux.yml b/.gitlab/os-linux.yml index 19c8bf415f..f36b05cf72 100644 --- a/.gitlab/os-linux.yml +++ b/.gitlab/os-linux.yml @@ -580,7 +580,7 @@ - .gitlab/ci/cmake_version_update.sh interruptible: false # The job internally fetches and retries. -.cmake_codespell_linux: +.cmake_spellcheck_linux: stage: build extends: .fedora41 script: