From 3efd9fc8c27a0795bcb1e594b4bfd24488903d48 Mon Sep 17 00:00:00 2001 From: Saptarshi Bose Date: Thu, 30 Jun 2022 20:29:55 +0530 Subject: [PATCH] Update devonfw-spellcheck.yml (#560) --- .github/workflows/devonfw-spellcheck.yml | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) diff --git a/.github/workflows/devonfw-spellcheck.yml b/.github/workflows/devonfw-spellcheck.yml index e7b27767..0ca49498 100644 --- a/.github/workflows/devonfw-spellcheck.yml +++ b/.github/workflows/devonfw-spellcheck.yml @@ -1,15 +1,13 @@ name: spellcheck on: push: + paths: + - '**.asciidoc' + - '**.adoc' + - '**.md' workflow_dispatch: jobs: - build: - runs-on: ubuntu-latest - steps: - - name: spellcheck checkout - uses: actions/checkout@v2 - - name: download dictionary - run: | - wget https://raw.githubusercontent.com/devonfw/.github/master/en-devonfw.dict -O ./en-devonfw.dict - - uses: igsekor/pyspelling-any@v0.0.2 - name: Spellcheck + spellchecker: + uses: devonfw/.github/.github/workflows/devonfw-spellchecker.yml@master + secrets: + RESUSABLE_GH_ACTION_TOKEN: ${{ secrets.GHA_TOKEN }}