Skip to content

Commit c249fa1

Browse files
authored
[spell check cicd] do not run on main branch, and ignore .svg files (#714)
## Summary follow up to #658 ## How was it tested? will observe github actions run
1 parent 0d0374e commit c249fa1

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

.github/workflows/cli-tests.yaml

+2-1
Original file line numberDiff line numberDiff line change
@@ -34,10 +34,11 @@ env:
3434
jobs:
3535
typos:
3636
name: Spell Check with Typos
37+
if: github.ref != 'refs/heads/main'
3738
runs-on: ubuntu-latest
3839
steps:
3940
- uses: actions/checkout@v3
40-
- uses: crate-ci/typos@v1.13.10
41+
- uses: crate-ci/typos@v1.13.16
4142

4243
golangci-lint:
4344
strategy:

typos.toml

+3
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,5 @@
11
[default.extend-words]
22
AKE = "AKE"
3+
4+
[files]
5+
extend-exclude=["*.svg"]

0 commit comments

Comments
 (0)