ci: Rename "codespell" job to more general name "spellcheck"

This commit is contained in:
Brad King 2025-01-21 17:02:56 -05:00
parent 17fc94e5e3
commit 54dfadaf5a
3 changed files with 6 additions and 5 deletions

View File

@ -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

View File

@ -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

View File

@ -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: