-
Notifications
You must be signed in to change notification settings - Fork 41
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #27 from AnaisUrlichs/typos
fix: typos
- Loading branch information
Showing
8 changed files
with
44 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
k8sgpt | ||
|
||
k8sgptdocs | ||
|
||
K8sGPT | ||
|
||
helm | ||
|
||
Kubernetes | ||
|
||
kubectl |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
name: typos | ||
|
||
on: | ||
pull_request: | ||
paths-ignore: | ||
- '*.md' | ||
|
||
jobs: | ||
build: | ||
name: Detect typos | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Run typo checks | ||
run: make typos |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,17 @@ | ||
MKDOCS_IMAGE := ghcr.io/k8sgpt-ai/k8sgptdocs:dev | ||
MKDOCS_PORT := 8000 | ||
|
||
.PHONY: mkdocs-serve | ||
mkdocs-serve: | ||
docker build -t $(MKDOCS_IMAGE) -f docs/build/Dockerfile docs/build | ||
docker run --name mkdocs-serve --rm -v $(PWD):/docs -p $(MKDOCS_PORT):8000 $(MKDOCS_IMAGE) | ||
docker run --name mkdocs-serve --rm -v $(PWD):/docs -p $(MKDOCS_PORT):8000 $(MKDOCS_IMAGE) | ||
|
||
.PHONY: typos | ||
typos: | ||
which codespell || pip install codespell | ||
codespell -S _examples,.tfsec,.terraform,.git,go.sum --ignore-words .codespellignore -f | ||
|
||
.PHONY: fix-typos | ||
fix-typos: | ||
which codespell || pip install codespell | ||
codespell -S .terraform,go.sum --ignore-words .codespellignore -f -w -i1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters