-
Notifications
You must be signed in to change notification settings - Fork 0
50 lines (48 loc) · 1.74 KB
/
spelling.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
---
name: Check Spelling
on:
push:
branches: ['**']
jobs:
spelling:
name: Check Spelling
permissions:
contents: read
pull-requests: read
actions: read
outputs:
followup: ${{ steps.spelling.outputs.followup }}
runs-on: ubuntu-latest
if: "contains(github.event_name, 'pull_request') || github.event_name == 'push'"
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/[email protected]
with:
suppress_push_for_open_pull_request: ${{ github.actor != 'dependabot[bot]' && 1 }}
checkout: true
check_file_names: 1
spell_check_this: check-spelling/spell-check-this@prerelease
post_comment: 0
experimental_apply_changes_via_bot: 0
extra_dictionaries:
cspell:css/dict/css.txt
cspell:latex/dict/latex.txt
cspell:software-terms/dict/softwareTerms.txt
cspell:filetypes/filetypes.txt
cspell:companies/src/companies.txt
cspell:haskell/dict/haskell.txt
cspell:de_DE/src/German_de_DE.dic
cspell:de_DE/src/hunspell/index.dic
cspell:en_GB/src/aoo-mozilla-en-dict/en-GB.dic
cspell:en_GB/src/hunspell/en_GB.dic
ignore-pattern: '[^\p{Ll}\p{Lm}\p{Lt}\p{Lu}]'
upper-pattern: '[\p{Lu}\p{Lt}\p{Lm}]'
lower-pattern: '[\p{Ll}\p{Lm}]'
not-lower-pattern: '[^\p{Ll}\p{Lm}]'
not-upper-or-lower-pattern: '[^\p{Lu}\p{Lt}\p{Lm}]'
punctuation-pattern: "'"