diff --git a/.github/typos.toml b/.github/typos.toml new file mode 100644 index 0000000..ef41379 --- /dev/null +++ b/.github/typos.toml @@ -0,0 +1,6 @@ +[default.extend-words] +# Don't correct the surname "Teh" +teh = "teh" + +[files] +extend-exclude = ["go.mod", "go.sum"] \ No newline at end of file diff --git a/.github/workflows/prc.yml b/.github/workflows/prc.yml index 884680d..4ae2a09 100644 --- a/.github/workflows/prc.yml +++ b/.github/workflows/prc.yml @@ -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 diff --git a/oteltrpc/README_cn.md b/oteltrpc/README.zh_CN.md similarity index 100% rename from oteltrpc/README_cn.md rename to oteltrpc/README.zh_CN.md