Skip to content

Commit

Permalink
add spellchecker prow test for website repo
Browse files Browse the repository at this point in the history
We earlier removed yaspeller that worked via pre-commit hook. This
replaces the spellchecking using basically the same dictionary, but
using node/npx cspell to do the spell checking.

Actual spellcheck script is done in PR
metal3-io/metal3-io.github.io#391

Signed-off-by: Tuomo Tanskanen <tuomo.tanskanen@est.tech>
  • Loading branch information
tuminoid committed Jan 25, 2024
1 parent 9f645d5 commit 8517513
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions prow/manifests/overlays/metal3/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1526,3 +1526,17 @@ presubmits:
value: "TRUE"
image: docker.io/pipelinecomponents/markdownlint-cli2:0.9.0@sha256:71370df6c967bae548b0bfd0ae313ddf44bfad87da76f88180eff55c6264098c
imagePullPolicy: Always
- name: spellcheck
run_if_changed: '(\.md|spellcheck\.sh|.cspell-config.json)$'
decorate: true
spec:
containers:
- args:
- ./hack/spellcheck.sh
command:
- sh
env:
- name: IS_CONTAINER
value: "TRUE"
image: ghcr.io/streetsidesoftware/cspell:8.3.2@sha256:2a6ab337b2f1a89e910653b46fdf219e3e4ec9662fc8d561b956c1fe14db9fac
imagePullPolicy: Always

0 comments on commit 8517513

Please sign in to comment.