Skip to content

Commit 49bc81a

Browse files
authored
feature: add typos github action (#1790)
Signed-off-by: Terry Howe <[email protected]>
1 parent 35cd412 commit 49bc81a

File tree

4 files changed

+81
-2
lines changed

4 files changed

+81
-2
lines changed

.github/workflows/typos.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: typos
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
pull_request:
8+
branches:
9+
- main
10+
11+
permissions:
12+
contents: read
13+
14+
jobs:
15+
typos:
16+
runs-on: ubuntu-latest
17+
steps:
18+
- name: Checkout
19+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # [email protected]
20+
- name: Check for typos
21+
uses: crate-ci/[email protected]

.typos.toml

Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
[default]
2+
extend-ignore-re = [
3+
# Hex color codes in SCSS/CSS
4+
"F[0-9A-F]{2,4}",
5+
]
6+
7+
[default.extend-words]
8+
# Company/Publisher names
9+
Packt = "Packt"
10+
SkippBox = "SkippBox"
11+
Skipp = "Skipp"
12+
KOMMA = "KOMMA"
13+
Hashi = "Hashi" # HashiCorp
14+
15+
# Icon/variable names
16+
stange = "stange"
17+
mutliple = "mutliple" # May be intentional in legacy code
18+
multiplebgs = "multiplebgs"
19+
psuedo = "psuedo" # Legacy typo in vendor code
20+
21+
# Technical terms
22+
AKS = "AKS" # Azure Kubernetes Service
23+
ba = "ba"
24+
ede = "ede" # Git commit hash
25+
26+
# German words in translations
27+
Paket = "Paket" # German for "package"
28+
29+
[files]
30+
extend-exclude = [
31+
# Internationalization files
32+
"i18n/",
33+
# Portuguese content - these are not English typos
34+
"content/pt/**",
35+
# Russian content
36+
"content/ru/**",
37+
# Ukrainian content
38+
"content/uk/**",
39+
# Korean content
40+
"content/ko/**",
41+
# Japanese content
42+
"content/ja/**",
43+
# German content
44+
"content/de/**",
45+
# Spanish content
46+
"content/es/**",
47+
# French content
48+
"content/fr/**",
49+
# Greek content
50+
"content/gr/**",
51+
# Chinese content
52+
"content/zh/**",
53+
# Theme files
54+
"themes/",
55+
# Go dependencies
56+
"sdkexamples/go.mod",
57+
"sdkexamples/go.sum",
58+
]

content/en/blog/2019-05-02-helm-3-preview-pt4.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,4 +27,4 @@ For Helm 3, a release has one or more release version secrets associated with it
2727

2828
With Tiller gone, Helm 3 stores release data in the same namespace as the release's destination. This change allows one to install a chart with the same release name in another namespace, and data is persisted between cluster upgrades/reboots in etcd. You can install Wordpress into namespace "foo" as well as namespace "bar", and both releases can be referred to as "wordpress".
2929

30-
Speaking of Charts...read the next blog [here](https://helm.sh/blog/helm-3-preview-pt5/) where we discuss changes to chart dependicies in our *Helm 3 Preview: Charting Our Future* blog series over the course of 4 weeks.
30+
Speaking of Charts...read the next blog [here](https://helm.sh/blog/helm-3-preview-pt5/) where we discuss changes to chart dependencies in our *Helm 3 Preview: Charting Our Future* blog series over the course of 4 weeks.

content/en/docs/topics/version_skew.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ Kubernetes 1.16 and 1.15.
3636

3737
It is not recommended to use Helm with a version of Kubernetes that is newer
3838
than the version it was compiled against, as Helm does not make any forward
39-
compatiblility guarantees.
39+
compatibility guarantees.
4040

4141
If you choose to use Helm with a version of Kubernetes that it does not support,
4242
you are using it at your own risk.

0 commit comments

Comments
 (0)