-
Notifications
You must be signed in to change notification settings - Fork 125
62 lines (60 loc) · 1.81 KB
/
spell-checker.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
name: Spell Checker
on:
pull_request_target:
branches:
- "main"
- "page"
types:
- 'opened'
- 'reopened'
- 'synchronize'
# Declare default permissions as read only.
permissions: read-all
jobs:
spelling:
name: Check Spelling
permissions:
contents: read
pull-requests: read
actions: read
outputs:
followup: ${{ steps.spelling.outputs.followup }}
runs-on: ubuntu-24.04
concurrency:
group: spelling-${{ github.event.pull_request.number || github.ref }}
# note: If you use only_check_changed_files, you do not want cancel-in-progress
cancel-in-progress: true
steps:
- name: check-spelling
id: spelling
uses: check-spelling/check-spelling@67debf50669c7fc76fc8f5d7f996384535a72b77 # v0.0.24
with:
suppress_push_for_open_pull_request: ${{ github.actor != 'dependabot[bot]' && github.actor != 'renovate[bot]' && 1 }}
checkout: true
check_file_names: 1
spell_check_this: check-spelling/spell-check-this@main
post_comment: 0
use_magic_file: 1
report-timing: 1
warnings:
bad-regex
binary-file
deprecated-feature
large-file
limited-references
no-newline-at-eof
noisy-file
non-alpha-in-dictionary
token-is-substring
unexpected-line-ending
whitespace-in-dictionary
minified-file
unsupported-configuration
no-files-to-check
use_sarif: false
extra_dictionary_limit: 20
extra_dictionaries:
cspell:software-terms/dict/softwareTerms.txt
cspell:k8s/dict/k8s.txt
cspell:golang/dict/go.txt
cspell:html/dict/html.txt