Skip to content

Commit

Permalink
workflow: add false-positives for typo check
Browse files Browse the repository at this point in the history
  • Loading branch information
liuzengh committed Oct 26, 2023
1 parent e9b6cce commit c931c10
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/typos.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
[default.extend-words]
# Don't correct the surname "Teh"
teh = "teh"

[files]
extend-exclude = ["go.mod", "go.sum"]
3 changes: 3 additions & 0 deletions .github/workflows/prc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,9 @@ jobs:
- uses: actions/checkout@v3
- name: typos
uses: crate-ci/typos@master
with:
# https://github.com/crate-ci/typos#false-positives
config: ./.github/typos.toml
go-apidiff:
if: github.event_name == 'pull_request'
runs-on: ubuntu-latest
Expand Down
File renamed without changes.

0 comments on commit c931c10

Please sign in to comment.