Skip to content

Commit 9d53049

Browse files
authored
Update vale-test.yml
1 parent 6d7eae0 commit 9d53049

1 file changed

Lines changed: 0 additions & 26 deletions

File tree

.github/workflows/vale-test.yml

Lines changed: 0 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -20,29 +20,3 @@ jobs:
2020
files: |
2121
docs/
2222
src/pages/
23-
24-
- name: Install Vale
25-
uses: vale-cli/vale-action@v2
26-
with:
27-
version: 3.12.0
28-
29-
- name: Collect spelling candidates
30-
run: |
31-
set -uo pipefail
32-
33-
vale --output=JSON docs src/pages > vale-results.json || true
34-
35-
echo "### Spelling candidates" >> "$GITHUB_STEP_SUMMARY"
36-
echo "" >> "$GITHUB_STEP_SUMMARY"
37-
38-
jq -r '
39-
.[]
40-
| .alerts[]
41-
| select(.Check == "Vale.Spelling")
42-
| .Message
43-
' vale-results.json \
44-
| sed -E "s/.*'([^']+)'.*/\1/" \
45-
| sort -u \
46-
| while read word; do
47-
echo "- $word" >> "$GITHUB_STEP_SUMMARY"
48-
done

0 commit comments

Comments
 (0)