From c7230287dd36121241c65097515fb7c2b11bacd6 Mon Sep 17 00:00:00 2001 From: Philip Laine Date: Wed, 22 Sep 2021 09:47:36 +0200 Subject: [PATCH 1/2] Add spellcheck gh action --- .github/workflows/pr-validate.yaml | 24 ++++++++++++++++-------- 1 file changed, 16 insertions(+), 8 deletions(-) diff --git a/.github/workflows/pr-validate.yaml b/.github/workflows/pr-validate.yaml index 238f5794e21..1252528e886 100644 --- a/.github/workflows/pr-validate.yaml +++ b/.github/workflows/pr-validate.yaml @@ -1,20 +1,28 @@ -name: PR Validation - +name: PR Validate on: pull_request - jobs: - build: + spellcheck: + name: spellcheck + runs-on: ubuntu-latest + steps: + - name: Checkout Code + uses: actions/checkout@v2 + with: + fetch-depth: 0 + - name: Run spellcheck + uses: rojopolis/spellcheck-github-actions@0.16.0 + markdownlint: name: markdownlint-cli runs-on: ubuntu-latest - steps: - name: Checkout Code uses: actions/checkout@v2 with: fetch-depth: 0 - - uses: actions/setup-node@v2 with: node-version: "16" - - run: npm install markdownlint-cli - - run: make markdownlint + - name: Install markdownlint + run: npm install markdownlint-cli + - name: Run markdownlint + run: make markdownlint From 6792e194b42410eb7bebe56e9d6dbbf694f1a7c5 Mon Sep 17 00:00:00 2001 From: Philip Laine Date: Wed, 22 Sep 2021 09:55:03 +0200 Subject: [PATCH 2/2] Add pyspell config file --- spellcheck.yaml | 1 + 1 file changed, 1 insertion(+) create mode 100644 spellcheck.yaml diff --git a/spellcheck.yaml b/spellcheck.yaml new file mode 100644 index 00000000000..194cfe420d7 --- /dev/null +++ b/spellcheck.yaml @@ -0,0 +1 @@ +spellchecker: aspell