From a70beb32e46ed3a6da46361781bfd3dcb98311cf Mon Sep 17 00:00:00 2001 From: Jazz Turner-Baggs <473256+jazzz@users.noreply.github.com> Date: Tue, 25 Feb 2025 23:09:48 -0800 Subject: [PATCH] chore: upgrade repo wide spellcheck --- .github/workflows/spelling.yml | 23 +++++++------------ spellcheck.yaml | 40 ---------------------------------- 2 files changed, 8 insertions(+), 55 deletions(-) delete mode 100644 spellcheck.yaml diff --git a/.github/workflows/spelling.yml b/.github/workflows/spelling.yml index e1ece9e..3fc3a7e 100644 --- a/.github/workflows/spelling.yml +++ b/.github/workflows/spelling.yml @@ -1,25 +1,18 @@ -name: Spellcheck +name: Spellcheck(Repo) on: - push: - branches: - - '**' - pull_request: - branches: - - '**' + schedule: + - cron: "0 0 * * 2" # Every Tuesday workflow_dispatch: jobs: spellcheck: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - - name: Install aspell - run: sudo apt-get install -y aspell aspell-en - - - name: Run spellcheck - uses: igsekor/pyspelling-any@v1.0.4 + - name: Run Spellcheck + uses: rojopolis/spellcheck-github-actions@v0 with: - args: "-c ./spellcheck.yaml" - + task_name: Markdown + config_path: .spellcheck.yml diff --git a/spellcheck.yaml b/spellcheck.yaml deleted file mode 100644 index 2684db4..0000000 --- a/spellcheck.yaml +++ /dev/null @@ -1,40 +0,0 @@ -matrix: -- name: markdown - sources: - - '**/*.md' - default: - dictionary: - - en_US - - en_GB - encoding: utf-8 - pipeline: - - pyspelling.filters.markdown: - extensions: - - .md - - pyspelling.filters.text - sources: - - '**/*.md' - suggest: true - whitelist: - - ALLOC - - IANA - - SHARDING - - WAKU - - Waku - - danielkaiser - - creativecommons - - github - - GITHUB - - https - - iana - - md - - rfc - - RFC - - www - - DHT - - DoS - - GossipSub - - gossipsub - - libp2p - - pubsub - - subnets