Skip to content

Commit

Permalink
feat: spell check
Browse files Browse the repository at this point in the history
Signed-off-by: Xinwei Xiong(cubxxw) <3293172751nss@gmail.com>

🤖 kubbot to synchronize the warehouse
  • Loading branch information
kubbot committed Jun 14, 2023
1 parent d28067f commit 7ccdc99
Show file tree
Hide file tree
Showing 2 changed files with 42 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/opencommit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
env:
# set openAI api key in repo actions secrets,
# for openAI keys go to: https://platform.openai.com/account/api-keys
# for repo secret go to: https://github.com/organizations/kubecub/settings/secrets/actions
# for repo secret go to: https://github.com/kuebcub/settings/secrets/actions
OCO_OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}

# customization
Expand Down
41 changes: 41 additions & 0 deletions .github/workflows/spell-check.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
name: Test repository spelling check
on:
push:
branches:
- main
pull_request:
branches:
- main
workflow_dispatch:

jobs:
run:
name: Spell Check with Typos
runs-on: ubuntu-latest
steps:
- name: Checkout Actions Repository
uses: actions/checkout@v2

- name: Check spelling of md
uses: crate-ci/typos@master
with:
files:
./CONTIRIBUTING.md
./README.md

- name: Use custom config file
uses: crate-ci/typos@master
with:
files: ./file.txt
config: ./myconfig.toml

- name: Ignore implicit configuration file
uses: crate-ci/typos@master
with:
files: ./file.txt
isolated: true

- name: Writes changes in the local checkout
uses: crate-ci/typos@master
with:
write_changes: true

1 comment on commit 7ccdc99

@vercel
Copy link

@vercel vercel bot commented on 7ccdc99 Jun 14, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

k8s-iam – ./

k8s-iam-c-ub.vercel.app
k8s-iam.vercel.app
k8s-iam-git-main-c-ub.vercel.app
k8s-iam.nsddd.top

Please sign in to comment.