From 12e66dc31a00c12281f4fefded45cf7e97eb0a9e Mon Sep 17 00:00:00 2001 From: Mikael Simberg Date: Wed, 30 Apr 2025 09:43:42 +0200 Subject: [PATCH 1/4] Bump spell checking action version to prerelease version Contains initial support for ignoring code blocks. --- .github/workflows/spelling.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/spelling.yaml b/.github/workflows/spelling.yaml index f2913cac..18d5df1d 100644 --- a/.github/workflows/spelling.yaml +++ b/.github/workflows/spelling.yaml @@ -11,7 +11,7 @@ jobs: - uses: actions/checkout@v3 - name: Check spelling id: spelling - uses: check-spelling/check-spelling@v0.0.24 + uses: check-spelling/check-spelling@46c981b7c96b3777aff4fd711fc9a8f126121b04 with: check_file_names: 1 post_comment: 0 From ac385915daf5f115b0704c7cc7fdf6b902233a92 Mon Sep 17 00:00:00 2001 From: Mikael Simberg Date: Wed, 30 Apr 2025 09:51:07 +0200 Subject: [PATCH 2/4] Add configuration to ignore spelling in blocks --- .github/actions/spelling/block-delimiters.list | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 .github/actions/spelling/block-delimiters.list diff --git a/.github/actions/spelling/block-delimiters.list b/.github/actions/spelling/block-delimiters.list new file mode 100644 index 00000000..9a0a87ca --- /dev/null +++ b/.github/actions/spelling/block-delimiters.list @@ -0,0 +1,7 @@ +# generic ignore spelling block + + + +# ignore code blocks +``` +``` From 988ce9e8eff17cd3050218770b6ea07b88de3fd7 Mon Sep 17 00:00:00 2001 From: Mikael Simberg Date: Wed, 30 Apr 2025 12:02:03 +0200 Subject: [PATCH 3/4] Update .github/workflows/spelling.yaml --- .github/workflows/spelling.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/spelling.yaml b/.github/workflows/spelling.yaml index 18d5df1d..e79e68d3 100644 --- a/.github/workflows/spelling.yaml +++ b/.github/workflows/spelling.yaml @@ -11,6 +11,10 @@ jobs: - uses: actions/checkout@v3 - name: Check spelling id: spelling + # The given commit contains preliminary, unreleased, support for ignoring + # whole blocks (multi-line) from spell checking. See + # https://github.com/check-spelling/check-spelling/commit/46c981b7c96b3777aff4fd711fc9a8f126121b04 + # for more details. uses: check-spelling/check-spelling@46c981b7c96b3777aff4fd711fc9a8f126121b04 with: check_file_names: 1 From ded0fce30f50e59ae683e2bccd71e6ef1ad80444 Mon Sep 17 00:00:00 2001 From: Ben Cumming Date: Wed, 30 Apr 2025 12:21:41 +0200 Subject: [PATCH 4/4] Update .github/workflows/spelling.yaml Co-authored-by: Mikael Simberg --- .github/workflows/spelling.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/spelling.yaml b/.github/workflows/spelling.yaml index e79e68d3..fb49fc7b 100644 --- a/.github/workflows/spelling.yaml +++ b/.github/workflows/spelling.yaml @@ -15,6 +15,10 @@ jobs: # whole blocks (multi-line) from spell checking. See # https://github.com/check-spelling/check-spelling/commit/46c981b7c96b3777aff4fd711fc9a8f126121b04 # for more details. + # The given commit contains preliminary, unreleased, support for ignoring + # whole blocks (multi-line) from spell checking. See + # https://github.com/check-spelling/check-spelling/commit/46c981b7c96b3777aff4fd711fc9a8f126121b04 + # for more details. uses: check-spelling/check-spelling@46c981b7c96b3777aff4fd711fc9a8f126121b04 with: check_file_names: 1