From dc8f04afb976aa137e504934d263988676f7c633 Mon Sep 17 00:00:00 2001 From: Stefan Markovic Date: Wed, 4 Oct 2023 18:00:30 +0200 Subject: [PATCH] Try fix spellcheck --- .github/actions/spell-check/patterns.txt | 3 +++ .github/workflows/spelling2.yml | 17 +++++++++-------- .../Contract/VariantAssignmentClientSettings.cs | 2 +- 3 files changed, 13 insertions(+), 9 deletions(-) diff --git a/.github/actions/spell-check/patterns.txt b/.github/actions/spell-check/patterns.txt index 5959fbe8fc..f0f3aa310d 100644 --- a/.github/actions/spell-check/patterns.txt +++ b/.github/actions/spell-check/patterns.txt @@ -183,3 +183,6 @@ http://tes/ # ignore long runs of a single character: \b([A-Za-z])\g{-1}{3,}\b + +# suggested by spellcheck bot +(?:ssh-\S+|-nistp256) [-a-zA-Z=;:/0-9+]{12,} diff --git a/.github/workflows/spelling2.yml b/.github/workflows/spelling2.yml index e38784d148..bd77a24244 100644 --- a/.github/workflows/spelling2.yml +++ b/.github/workflows/spelling2.yml @@ -71,21 +71,22 @@ jobs: uses: check-spelling/check-spelling@v0.0.22 with: config: .github/actions/spell-check - suppress_push_for_open_pull_request: 1 + suppress_push_for_open_pull_request: ${{ github.actor != 'dependabot[bot]' && 1 }} checkout: true check_file_names: 1 spell_check_this: check-spelling/spell-check-this@prerelease post_comment: 0 use_magic_file: 1 extra_dictionary_limit: 10 + dictionary_source_prefixes: {"cspell": "https://raw.githubusercontent.com/check-spelling/cspell-dicts/v20220816/dictionaries/", "cspell_old": "https://raw.githubusercontent.com/check-spelling/cspell-dicts/v20220427/dictionaries/"} extra_dictionaries: - cspell:software-terms/src/software-terms.txt - cspell:cpp/src/stdlib-cpp.txt - cspell:filetypes/filetypes.txt - cspell:cpp/src/stdlib-c.txt - cspell:fullstack/fullstack.txt - cspell:html/html.txt - cspell:css/css.txt + cspell_old:software-terms/src/software-terms.txt + cspell_old:cpp/src/stdlib-cpp.txt + cspell_old:filetypes/filetypes.txt + cspell_old:cpp/src/stdlib-c.txt + cspell_old:fullstack/fullstack.txt + cspell_old:html/html.txt + cspell_old:css/css.txt comment-push: name: Report (Push) diff --git a/src/common/AllExperiments/Microsoft.VariantAssignment/Contract/VariantAssignmentClientSettings.cs b/src/common/AllExperiments/Microsoft.VariantAssignment/Contract/VariantAssignmentClientSettings.cs index 1ea295bfda..f57986368c 100644 --- a/src/common/AllExperiments/Microsoft.VariantAssignment/Contract/VariantAssignmentClientSettings.cs +++ b/src/common/AllExperiments/Microsoft.VariantAssignment/Contract/VariantAssignmentClientSettings.cs @@ -24,7 +24,7 @@ namespace Microsoft.VariantAssignment.Contract public bool EnableCaching { get; set; } /// - /// Gets or sets the the maximum time a cached variant assignment response may be used without re-validating. + /// Gets or sets the maximum time a cached variant assignment response may be used without re-validating. /// public TimeSpan ResponseCacheTime { get; set; } }