Skip to content

Commit 97c09e3

Browse files
ydahbrandur
andauthored
Add CodeSpell workflow for spell checking in pull requests (#434)
* s/overwrited/overwritten/ * Add CodeSpell workflow for spell checking in pull requests * Improve expression Co-authored-by: Brandur Leach <brandur@brandur.org> --------- Co-authored-by: Brandur Leach <brandur@brandur.org>
1 parent 5883c6d commit 97c09e3

File tree

3 files changed

+16
-1
lines changed

3 files changed

+16
-1
lines changed

.codespellignore

Whitespace-only changes.

.github/workflows/codespell.yml

+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
name: CodeSpell
2+
on:
3+
- pull_request
4+
jobs:
5+
codespell:
6+
name: CodeSpell
7+
runs-on: ubuntu-latest
8+
steps:
9+
- uses: actions/checkout@v4
10+
- name: CodeSpell
11+
uses: codespell-project/actions-codespell@master
12+
with:
13+
check_filenames: true
14+
ignore_words_file: .codespellignore
15+
exclude_file: examples/openapi3_rails/config/storage.yml,test/data/openapi2/petstore-expanded.json

CHANGELOG.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7979
## [4.99.0.beta1] - 2023-01-24
8080
- We add backport parameter overwrite rule [#373](https://github.com/interagent/committee/pull/373)
8181
- We provide merged parameter for `committee.params` ( `params_key` option)
82-
- When a same parameter name exist in path/query/request body, it overwrited.
82+
- When a parameter of the same name exists in the path/query/request body, it will be overwritten.
8383
- We we change overwrite rule next version.
8484
- Please set `parameter_overwite_by_rails_rule=true` for Rails rule (v5.0.0)
8585
- (high priority) path_hash_key -> request_body_hash -> query_param

0 commit comments

Comments
 (0)