@@ -5,9 +5,9 @@ Any warnings or errors will be annotated in the Pull Request.
55
66## Usage
77
8- ```
8+ ``` yml
99- uses : actions/checkout@v5
10- - uses: codespell-project/actions-codespell@master
10+ - uses : codespell-project/actions-codespell@v2
1111` ` `
1212
1313### Parameter: check_filenames
@@ -16,8 +16,8 @@ If set, check file names for spelling mistakes as well.
1616
1717This parameter is optional; by default ` codespell` will only check the file contents.
1818
19- ```
20- uses: codespell-project/actions-codespell@master
19+ ` ` ` yml
20+ uses: codespell-project/actions-codespell@v2
2121with:
2222 check_filenames: true
2323` ` `
@@ -28,8 +28,8 @@ If set, check hidden files (those starting with ".") for spelling mistakes as we
2828
2929This parameter is optional; by default `codespell` will not check hidden files.
3030
31- ```
32- uses: codespell-project/actions-codespell@master
31+ ` ` ` yml
32+ uses: codespell-project/actions-codespell@v2
3333with:
3434 check_hidden: true
3535` ` `
@@ -40,8 +40,8 @@ File with lines that should not be checked for spelling mistakes.
4040
4141This parameter is optional; by default `codespell` will check all lines.
4242
43- ```
44- uses: codespell-project/actions-codespell@master
43+ ` ` ` yml
44+ uses: codespell-project/actions-codespell@v2
4545with:
4646 exclude_file: src/foo
4747` ` `
@@ -52,8 +52,8 @@ Comma-separated list of files to skip (it accepts globs as well).
5252
5353This parameter is optional; by default `codespell` won't skip any files.
5454
55- ```
56- uses: codespell-project/actions-codespell@master
55+ ` ` ` yml
56+ uses: codespell-project/actions-codespell@v2
5757with:
5858 skip: foo,bar
5959` ` `
@@ -62,10 +62,10 @@ with:
6262
6363Comma-separated list of builtin dictionaries to use.
6464
65- This parameter is optional; by default ` codespell ` will use it's default selection of built in dictionaries.
65+ This parameter is optional; by default `codespell` will use its default selection of built in dictionaries.
6666
67- ```
68- uses: codespell-project/actions-codespell@master
67+ ` ` ` yml
68+ uses: codespell-project/actions-codespell@v2
6969with:
7070 builtin: clear,rare
7171` ` `
@@ -77,8 +77,8 @@ Words are case sensitive based on how they are written in the dictionary file.
7777
7878This parameter is optional; by default `codespell` will check all words for typos.
7979
80- ```
81- uses: codespell-project/actions-codespell@master
80+ ` ` ` yml
81+ uses: codespell-project/actions-codespell@v2
8282with:
8383 ignore_words_file: .codespellignore
8484` ` `
@@ -90,21 +90,35 @@ Words are case sensitive based on how they are written in the dictionary file.
9090
9191This parameter is optional; by default `codespell` will check all words for typos.
9292
93- ```
94- uses: codespell-project/actions-codespell@master
93+ ` ` ` yml
94+ uses: codespell-project/actions-codespell@v2
9595with:
9696 ignore_words_list: abandonned,ackward
9797` ` `
9898
99+ # ## Parameter: uri_ignore_words_list
100+
101+ Comma-separated list of words which will be ignored by `codespell` in URIs and emails only.
102+ Words are case sensitive based on how they are written in the dictionary file.
103+ If set to "*", all misspelling in URIs and emails will be ignored.
104+
105+ This parameter is optional; by default `codespell` will check all URIs and emails for typos.
106+
107+ ` ` ` yml
108+ uses: codespell-project/actions-codespell@v2
109+ with:
110+ uri_ignore_words_list: abandonned
111+ ` ` `
112+
99113# ## Parameter: path
100114
101115Indicates the path to run `codespell` in.
102116This can be useful if your project has code you don't want to spell check for some reason.
103117
104118This parameter is optional; by default `codespell` will run on your whole repository.
105119
106- ```
107- uses: codespell-project/actions-codespell@master
120+ ` ` ` yml
121+ uses: codespell-project/actions-codespell@v2
108122with:
109123 path: src
110124` ` `
@@ -117,8 +131,8 @@ All errors and warnings are annotated in Pull Requests, but it will act like eve
117131
118132This parameter is optional; setting this to any value will enable it.
119133
120- ```
121- uses: codespell-project/actions-codespell@master
134+ ` ` ` yml
135+ uses: codespell-project/actions-codespell@v2
122136with:
123137 only_warn: 1
124138` ` `
0 commit comments