diff --git a/.github/workflows/typos.yml b/.github/workflows/typos.yml new file mode 100644 index 00000000..f212eb7b --- /dev/null +++ b/.github/workflows/typos.yml @@ -0,0 +1,25 @@ +name: "Typos" + +on: + push: + branches: + - master + pull_request: + # The branches below must be a subset of the branches above + branches: + - master + schedule: + - cron: '45 9 * * 1' + +jobs: + run: + name: Spell Check with Typos + runs-on: ubuntu-latest + steps: + - name: Checkout Actions Repository + uses: actions/checkout@v2 + + - name: Use custom config file + uses: crate-ci/typos@master + with: + config: ./.typos.toml diff --git a/.typos.toml b/.typos.toml new file mode 100644 index 00000000..ab0112bb --- /dev/null +++ b/.typos.toml @@ -0,0 +1,2 @@ +[files] +extend-exclude = ["go.sum", "package-lock.json"]