From c249fa1da3a24eb686220da378bc9dcdc6d49680 Mon Sep 17 00:00:00 2001 From: savil <676452+savil@users.noreply.github.com> Date: Thu, 2 Mar 2023 15:16:52 -0600 Subject: [PATCH] [spell check cicd] do not run on main branch, and ignore .svg files (#714) ## Summary follow up to https://github.com/jetpack-io/devbox/pull/658 ## How was it tested? will observe github actions run --- .github/workflows/cli-tests.yaml | 3 ++- typos.toml | 3 +++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/cli-tests.yaml b/.github/workflows/cli-tests.yaml index 1f794180f0c..5ed2f639e7a 100644 --- a/.github/workflows/cli-tests.yaml +++ b/.github/workflows/cli-tests.yaml @@ -34,10 +34,11 @@ env: jobs: typos: name: Spell Check with Typos + if: github.ref != 'refs/heads/main' runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - - uses: crate-ci/typos@v1.13.10 + - uses: crate-ci/typos@v1.13.16 golangci-lint: strategy: diff --git a/typos.toml b/typos.toml index ec0e8a40a4e..3f0727ac468 100644 --- a/typos.toml +++ b/typos.toml @@ -1,2 +1,5 @@ [default.extend-words] AKE = "AKE" + +[files] +extend-exclude=["*.svg"]