From c8f620b3d2e731f28e61f8e34873f7367f1b1948 Mon Sep 17 00:00:00 2001 From: Felix Nicolae Bucsa Date: Fri, 13 Sep 2024 12:37:13 +0100 Subject: [PATCH] fix --- .github/spelling.yml | 8 ++++++++ .github/workflows/spell-check.yml | 9 +++++---- 2 files changed, 13 insertions(+), 4 deletions(-) create mode 100644 .github/spelling.yml diff --git a/.github/spelling.yml b/.github/spelling.yml new file mode 100644 index 000000000..34c931c9c --- /dev/null +++ b/.github/spelling.yml @@ -0,0 +1,8 @@ +files: + - '**/*.mdx' +ignore: + - '**/node_modules/**' + - '**/vendor/**' + - '**/*.jpg' + - '**/*.png' + - '**/*.gif' \ No newline at end of file diff --git a/.github/workflows/spell-check.yml b/.github/workflows/spell-check.yml index 6dcb96d9f..044b9648f 100644 --- a/.github/workflows/spell-check.yml +++ b/.github/workflows/spell-check.yml @@ -17,7 +17,7 @@ jobs: name: Check Spelling permissions: contents: read - pull-requests: read + pull-requests: write actions: read security-events: write runs-on: ubuntu-latest @@ -30,9 +30,10 @@ jobs: with: python-version: '3.x' - - name: Install dependencies - run: | - pip install check-spelling + - name: Install check-spelling tool + uses: check-spelling/check-spelling@v1 + with: + config: .github/spelling.yml - name: Run spell check id: spell-check