-
-
Notifications
You must be signed in to change notification settings - Fork 2
56 lines (51 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
51
52
53
54
55
56
# yaml-language-server: $schema=https://json.schemastore.org/github-workflow
name: "Spelling"
# I take care of your fat fingers and ESL mistakes.
on: # yamllint disable-line rule:truthy
pull_request: null
push:
branches:
- "master"
workflow_call: null
permissions: {} # yamllint disable-line rule:braces
#permissions: "read-all"
#permissions:
# contents: "read" # Private repositories need read permission
concurrency:
group: "${{ github.workflow }}-${{ github.ref }}"
cancel-in-progress: true
jobs:
typos_check:
name: "文A codespell"
runs-on: "ubuntu-22.04"
timeout-minutes: 1
steps:
-
name: "Checkout repository"
uses: "actions/[email protected]"
#-
# name: "Cache pip"
# uses: "actions/cache@v3"
# with:
# path: "~/.cache/pip"
# key: "${{ runner.os }}-pip-codespell"
#-
# name: "Install codespell"
# run: |
# pip install --user 'codespell>=2.2'
-
name: "Search for misspellings"
uses: "codespell-project/[email protected]"
with:
skip: "./.git,package-lock.json"
check_hidden: true
check_filenames: true
builtin: "clear,rare,informal,usage,code,names"
ignore_words_list: "master"
#run: |
# "$(python -m site --user-base)/bin/codespell" \
# --skip="./.git,package-lock.json" \
# --check-hidden \
# --check-filenames \
# --builtin="clear,rare,informal,usage,code,names" \
# --ignore-words-list="master"