Skip to content

Commit

Permalink
Merge pull request #7 from liuzengh/wf-typos
Browse files Browse the repository at this point in the history
workflow:  ignore go.mod, go.sum, and go test file for typo check
  • Loading branch information
hanyuancheung authored Oct 26, 2023
2 parents e9b6cce + c9171c5 commit 7db9430
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 @@
[type.po]
extend-glob = ["*_test.go"]
check-file = false

[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 7db9430

Please sign in to comment.