mirror of
https://github.com/netbirdio/netbird.git
synced 2026-10-25 13:59:08 +01:00
ci: skip translated locales in codespell with version-stable globs
The recursive ** skip pattern did not take effect with the codespell shipped by the action, so de/common.json still tripped on real German words. Use single-star globs (matched per path segment across versions) and skip every translated locale, keeping only en as source of truth.
This commit is contained in:
@@ -24,9 +24,13 @@ jobs:
|
|||||||
ignore_words_list: erro,clienta,hastable,iif,groupd,testin,groupe,cros,ans,deriver,te,userA,ede,additionals
|
ignore_words_list: erro,clienta,hastable,iif,groupd,testin,groupe,cros,ans,deriver,te,userA,ede,additionals
|
||||||
# Non-English UI translations trip codespell on real foreign words
|
# Non-English UI translations trip codespell on real foreign words
|
||||||
# (de: "Sie", "oder", "ist"). Only en/common.json is the source of
|
# (de: "Sie", "oder", "ist"). Only en/common.json is the source of
|
||||||
# truth that should be spell-checked. Add each new locale dir here
|
# truth that should be spell-checked. List each translated locale
|
||||||
# when a language is added under client/ui/i18n/locales/.
|
# dir below and add new ones as languages are added under
|
||||||
skip: go.mod,go.sum,**/proxy/web/**,**/pnpm-lock.yaml,**/package-lock.json,client/ui/i18n/locales/de/**,client/ui/i18n/locales/hu/**
|
# client/ui/i18n/locales/. Single-star globs are matched per path
|
||||||
|
# segment by codespell and behave the same across versions; the
|
||||||
|
# recursive "**" form did not take effect with the codespell shipped
|
||||||
|
# by this action.
|
||||||
|
skip: go.mod,go.sum,*/proxy/web/*,*pnpm-lock.yaml,*package-lock.json,*/locales/de/*,*/locales/hu/*
|
||||||
golangci:
|
golangci:
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
|
|||||||
Reference in New Issue
Block a user