@@ -6,7 +6,55 @@ Any warnings or errors will be annotated in the Pull Request.
66## Usage
77
88```
9- uses: peternewman/actions-codespell@master
9+ uses: codespell-project/actions-codespell@master
10+ ```
11+
12+ ### Parameter: check_filenames
13+
14+ If set, check file names for spelling mistakes as well.
15+
16+ This parameter is optional; by default ` codespell ` will only check the file contents.
17+
18+ ```
19+ uses: codespell-project/actions-codespell@master
20+ with:
21+ check_filenames: true
22+ ```
23+
24+ ### Parameter: check_hidden
25+
26+ If set, check hidden files (those starting with ".") for spelling mistakes as well.
27+
28+ This parameter is optional; by default ` codespell ` will not check hidden files.
29+
30+ ```
31+ uses: codespell-project/actions-codespell@master
32+ with:
33+ check_hidden: true
34+ ```
35+
36+ ### Parameter: exclude_file
37+
38+ File with lines that should not be checked for spelling mistakes.
39+
40+ This parameter is optional; by default ` codespell ` will check all lines.
41+
42+ ```
43+ uses: codespell-project/actions-codespell@master
44+ with:
45+ exclude_file: src/foo
46+ ```
47+
48+ ### Parameter: skip
49+
50+ Comma-separated list of files to skip (it accepts globs as well).
51+
52+ This parameter is optional; by default ` codespell ` won't skip any files.
53+
54+ ```
55+ uses: codespell-project/actions-codespell@master
56+ with:
57+ skip: foo,bar
1058```
1159
1260### Parameter: path
@@ -17,7 +65,7 @@ This can be useful if your project has code you don't want to spell check for so
1765This parameter is optional; by default ` codespell ` will run on your whole repository.
1866
1967```
20- uses: peternewman /actions-codespell@master
68+ uses: codespell-project /actions-codespell@master
2169with:
2270 path: src
2371```
@@ -31,7 +79,7 @@ All errors and warnings are annotated in Pull Requests, but it will act like eve
3179This parameter is optional; setting this to any value will enable it.
3280
3381```
34- uses: peternewman /actions-codespell@master
82+ uses: codespell-project /actions-codespell@master
3583with:
3684 only_warn: 1
3785```
0 commit comments