From 97c09e3982e91030f924ace84790ecf6bbacb2f7 Mon Sep 17 00:00:00 2001 From: Yudai Takada Date: Tue, 10 Dec 2024 00:25:46 +0900 Subject: [PATCH] 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 --------- Co-authored-by: Brandur Leach --- .codespellignore | 0 .github/workflows/codespell.yml | 15 +++++++++++++++ CHANGELOG.md | 2 +- 3 files changed, 16 insertions(+), 1 deletion(-) create mode 100644 .codespellignore create mode 100644 .github/workflows/codespell.yml diff --git a/.codespellignore b/.codespellignore new file mode 100644 index 00000000..e69de29b diff --git a/.github/workflows/codespell.yml b/.github/workflows/codespell.yml new file mode 100644 index 00000000..94f6bcfe --- /dev/null +++ b/.github/workflows/codespell.yml @@ -0,0 +1,15 @@ +name: CodeSpell +on: + - pull_request +jobs: + codespell: + name: CodeSpell + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - name: CodeSpell + uses: codespell-project/actions-codespell@master + with: + check_filenames: true + ignore_words_file: .codespellignore + exclude_file: examples/openapi3_rails/config/storage.yml,test/data/openapi2/petstore-expanded.json diff --git a/CHANGELOG.md b/CHANGELOG.md index 3861e352..88c60897 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -79,7 +79,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [4.99.0.beta1] - 2023-01-24 - We add backport parameter overwrite rule [#373](https://github.com/interagent/committee/pull/373) - We provide merged parameter for `committee.params` ( `params_key` option) - - When a same parameter name exist in path/query/request body, it overwrited. + - When a parameter of the same name exists in the path/query/request body, it will be overwritten. - We we change overwrite rule next version. - Please set `parameter_overwite_by_rails_rule=true` for Rails rule (v5.0.0) - (high priority) path_hash_key -> request_body_hash -> query_param