From 70a3cee88d7ac8f86b0062419dd9003372e43bed Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Thu, 28 Nov 2024 21:59:06 -0500 Subject: [PATCH] Add check-spelling --- .github/actions/spelling/README.md | 3 +- .../actions/spelling/block-delimiters.list | 27 +++ .github/actions/spelling/candidate.patterns | 82 ++++++-- .github/actions/spelling/excludes.txt | 26 +-- .github/actions/spelling/expect.txt | 163 ++-------------- .../actions/spelling/line_forbidden.patterns | 98 +++++++++- .github/actions/spelling/patterns.txt | 179 +++++++----------- .github/actions/spelling/reject.txt | 1 + .github/workflows/spelling3.yml | 41 ++-- 9 files changed, 310 insertions(+), 310 deletions(-) create mode 100644 .github/actions/spelling/block-delimiters.list diff --git a/.github/actions/spelling/README.md b/.github/actions/spelling/README.md index 01bb8c2e1e0..da6f2e9d9b5 100644 --- a/.github/actions/spelling/README.md +++ b/.github/actions/spelling/README.md @@ -12,6 +12,7 @@ File | Purpose | Format | Info [line_forbidden.patterns](line_forbidden.patterns) | Patterns to flag in checked lines | perl regular expression (order matters, first match wins) | [patterns](https://github.com/check-spelling/check-spelling/wiki/Configuration-Examples%3A-patterns) [expect.txt](expect.txt) | Expected words that aren't in the dictionary | one word per line (sorted, alphabetically) | [expect](https://github.com/check-spelling/check-spelling/wiki/Configuration#expect) [advice.md](advice.md) | Supplement for GitHub comment when unrecognized words are found | GitHub Markdown | [advice](https://github.com/check-spelling/check-spelling/wiki/Configuration-Examples%3A-advice) +[block-delimiters.list](block-delimiters.list) | Define block begin/end markers to ignore lines of text | line with _literal string_ for **start** followed by line with _literal string_ for **end** | [block ignore](https://github.com/check-spelling/check-spelling/wiki/Feature%3A-Block-Ignore#status) Note: you can replace any of these files with a directory by the same name (minus the suffix) -and then include multiple files inside that directory (with that suffix) to merge multiple files. +and then include multiple files inside that directory (with that suffix) to merge multiple files together. diff --git a/.github/actions/spelling/block-delimiters.list b/.github/actions/spelling/block-delimiters.list new file mode 100644 index 00000000000..e6f7a1e6672 --- /dev/null +++ b/.github/actions/spelling/block-delimiters.list @@ -0,0 +1,27 @@ +# Public Keys +-----BEGIN PUBLIC KEY----- +-----END PUBLIC KEY----- + +# Private Keys +-----BEGIN PRIVATE KEY----- +-----END PRIVATE KEY----- + +# RSA Private Key +-----BEGIN RSA PRIVATE KEY----- +-----END RSA PRIVATE KEY----- + +# GPG Public Key +-----BEGIN PGP PUBLIC KEY BLOCK----- +-----END PGP PUBLIC KEY BLOCK----- + +# GPG Signature +-----BEGIN PGP SIGNATURE----- +-----END PGP SIGNATURE----- + +# Certificates +-----BEGIN CERTIFICATE----- +-----END CERTIFICATE----- + +# All Contributors +