From 6c41703c32220ff82e37c45b3cef68d048695906 Mon Sep 17 00:00:00 2001 From: BrianTeeman Date: Tue, 8 Jul 2025 11:54:58 +0100 Subject: [PATCH] Typos Action --- .github/workflows/typos.toml | 15 +++++++++++++++ .github/workflows/workflow-v4.yml | 11 +++++++++++ 2 files changed, 26 insertions(+) create mode 100644 .github/workflows/typos.toml diff --git a/.github/workflows/typos.toml b/.github/workflows/typos.toml new file mode 100644 index 0000000..2e8f2b8 --- /dev/null +++ b/.github/workflows/typos.toml @@ -0,0 +1,15 @@ +[files] +extend-exclude = [ + +] + +[default.extend-words] +# entities +wheres="wheres" +withs="withs" +colum="colum" +seperator="seperator" +# filter +cript="cript" +# registry +dum="dum" diff --git a/.github/workflows/workflow-v4.yml b/.github/workflows/workflow-v4.yml index f5b2bad..d6114b0 100644 --- a/.github/workflows/workflow-v4.yml +++ b/.github/workflows/workflow-v4.yml @@ -82,3 +82,14 @@ jobs: git config --global --add safe.directory $GITHUB_WORKSPACE composer update ./vendor/bin/phpunit + + typos: + name: Check for typos + runs-on: ubuntu-latest + steps: + - name: Checkout Actions Repository + uses: actions/checkout@v4 + - name: Spell Check Repository + uses: crate-ci/typos@v1.34.0 + with: + config: .github/workflows/typos.toml