ci: Rename "codespell" job to more general name "spellcheck"
This commit is contained in:
parent
17fc94e5e3
commit
54dfadaf5a
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user