-
Notifications
You must be signed in to change notification settings - Fork 113
45 lines (39 loc) · 1.34 KB
/
spellcheck.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
name: 'Spellcheck'
on:
pull_request:
paths: ['src/**', '**/*.md']
permissions:
pull-requests: read
jobs:
spellcheck:
name: Spellcheck
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
with:
persist-credentials: false
- uses: streetsidesoftware/cspell-action@542d05c6a8980c81277ec229f9beadf4ab3f5a34
name: Documentation spellcheck
if: ${{ !cancelled() }}
with:
files: '**/*.md'
inline: error
incremental_files_only: true
- uses: streetsidesoftware/cspell-action@542d05c6a8980c81277ec229f9beadf4ab3f5a34
name: Resx spellcheck
if: ${{ !cancelled() }}
with:
files: 'src/**/*.resx'
inline: error
incremental_files_only: true
- uses: streetsidesoftware/cspell-action@542d05c6a8980c81277ec229f9beadf4ab3f5a34
name: Source code spellcheck
if: ${{ !cancelled() }}
with:
files: 'src/**/*{.cs,.cpp,.h,.targets,.props,.*proj}'
inline: warning
incremental_files_only: true
# Do not cause the gate to fail if potential typos in source code are found.
# The signal-to-noise ratio here needs to be better understood first.
strict: false