From 7beed129c0064617e4d389a9bcbb8f0e72b0d667 Mon Sep 17 00:00:00 2001 From: Alexander Weigl Date: Fri, 20 Jan 2023 12:39:18 +0000 Subject: [PATCH 1/3] enable spell checking --- .github/workflows/mkdocs.yml | 13 +++++++++++++ .pyspelling.yaml | 18 ++++++++++++++++++ .wordlist.txt | 0 3 files changed, 31 insertions(+) create mode 100644 .pyspelling.yaml create mode 100644 .wordlist.txt diff --git a/.github/workflows/mkdocs.yml b/.github/workflows/mkdocs.yml index 9bd7c19..f7378e5 100644 --- a/.github/workflows/mkdocs.yml +++ b/.github/workflows/mkdocs.yml @@ -56,3 +56,16 @@ jobs: - name: Deploy to GitHub Pages id: deployment uses: actions/deploy-pages@v1 + + + spelling: + name: Spellcheck + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@master + - uses: rojopolis/spellcheck-github-actions@0.29.0 + name: Spellcheck + with: + source_files: README.md CHANGELOG.md notes/Notes.md + task_name: Markdown + output_file: spellcheck-output.txt diff --git a/.pyspelling.yaml b/.pyspelling.yaml new file mode 100644 index 0000000..fbca01e --- /dev/null +++ b/.pyspelling.yaml @@ -0,0 +1,18 @@ +matrix: +- name: Markdown + aspell: + lang: en + dictionary: + wordlists: + - .wordlist.txt + encoding: utf-8 + pipeline: + - pyspelling.filters.markdown: + - pyspelling.filters.html: + comments: false + ignores: + - code + - pre + sources: + - '**/*.md' + default_encoding: utf-8 diff --git a/.wordlist.txt b/.wordlist.txt new file mode 100644 index 0000000..e69de29 From 1e1792468f660c571a60116e1acab0cc422ad61b Mon Sep 17 00:00:00 2001 From: Alexander Weigl Date: Fri, 20 Jan 2023 12:41:13 +0000 Subject: [PATCH 2/3] add dependabot config for workflow action analysis --- .github/dependabot.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 .github/dependabot.yml diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 0000000..3aca454 --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,10 @@ + +version: 2 +updates: + # Enable version updates for Actions + - package-ecosystem: "github-actions" + # Look for `.github/workflows` in the `root` directory + directory: "/" + # Check for updates once a week + schedule: + interval: "weekly" From 1b08f4f7ea7814aeb88fec62284e6afb9894ec64 Mon Sep 17 00:00:00 2001 From: Alexander Weigl Date: Fri, 20 Jan 2023 12:44:06 +0000 Subject: [PATCH 3/3] fix input sources --- .github/workflows/mkdocs.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/mkdocs.yml b/.github/workflows/mkdocs.yml index f7378e5..2605d2b 100644 --- a/.github/workflows/mkdocs.yml +++ b/.github/workflows/mkdocs.yml @@ -66,6 +66,5 @@ jobs: - uses: rojopolis/spellcheck-github-actions@0.29.0 name: Spellcheck with: - source_files: README.md CHANGELOG.md notes/Notes.md task_name: Markdown output_file: spellcheck-output.txt