From 4c30645e73b75fcab812d375c16776d874c485fd Mon Sep 17 00:00:00 2001 From: Siddharth Date: Sat, 23 Mar 2024 13:03:47 +0530 Subject: [PATCH] ci: adding spelling check in actions (#3) --- .github/workflows/spelling.yml | 20 ++++++++++++++++++++ typos.toml | 3 +++ 2 files changed, 23 insertions(+) create mode 100644 .github/workflows/spelling.yml create mode 100644 typos.toml diff --git a/.github/workflows/spelling.yml b/.github/workflows/spelling.yml new file mode 100644 index 0000000..b680269 --- /dev/null +++ b/.github/workflows/spelling.yml @@ -0,0 +1,20 @@ +#! Auto synced from Shared CI Resources repository +#! Don't change this file, instead change it in github.com/GaloyMoney/concourse-shared + +name: Spelling + +on: + pull_request: + branches: [ main ] + +jobs: + spelling: + name: Spell Check with Typos + runs-on: ubuntu-latest + steps: + - name: Checkout Actions Repository + uses: actions/checkout@v3 + - name: Spell Check Repo + uses: crate-ci/typos@master + with: + config: typos.toml diff --git a/typos.toml b/typos.toml new file mode 100644 index 0000000..57717a2 --- /dev/null +++ b/typos.toml @@ -0,0 +1,3 @@ +files.extend-exclude = [ + "gradle/wrapper", +]