-
Notifications
You must be signed in to change notification settings - Fork 7
feat: add Spell checker using GitHub Actions #470
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: v0-2
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,10 @@ | ||
| [files] | ||
| extend-exclude = [ | ||
| ".next", | ||
| ".idea", | ||
| ".source", | ||
| "node_modules", | ||
| "cloudflare-env.d.ts", | ||
| # Biome config is schema defined | ||
| "biome.json" | ||
| ] |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,25 @@ | ||
| name: spelling | ||
|
|
||
| permissions: | ||
| contents: read | ||
|
|
||
| on: | ||
| push: | ||
| branches: | ||
| - main | ||
| pull_request: | ||
|
|
||
| env: | ||
| CLICOLOR: 1 | ||
|
|
||
| jobs: | ||
| spelling: | ||
| name: Spell Check with Typos | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - name: Checkout Actions Repository | ||
| uses: actions/checkout@v4 | ||
| - name: Spell Check Repo | ||
| uses: crate-ci/typos@v1.34.0 | ||
| with: | ||
| config: ./.config/spell-check.toml | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -12,7 +12,7 @@ Welcome to the LogChimp API Reference. | |
|
|
||
| If you’re new to LogChimp, start with the [Guide](/guide), then come back here for details on specific endpoints. | ||
|
|
||
| LogChimp uses REST-ful APIs to build the backend on which it delivers content to the client side. | ||
| LogChimp uses REST-full APIs to build the backend on which it delivers content to the client side. | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. "REST-full" is incorrect — the standard term is "RESTful". This change introduces a typo rather than fixing one. "RESTful" (from REST: Representational State Transfer) is the established industry term. "REST-full" is not a word. Instead of changing the content, add [default.extend-words]
# Industry-standard term
RESTful = "RESTful"And revert this line: -LogChimp uses REST-full APIs to build the backend on which it delivers content to the client side.
+LogChimp uses RESTful APIs to build the backend on which it delivers content to the client side.🤖 Prompt for AI Agents |
||
|
|
||
| ## Path & Version | ||
|
|
||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🧩 Analysis chain
🏁 Script executed:
Repository: logchimp/docs
Length of output: 119
Add
v0-2to the push trigger — the workflow doesn't run on the default branch.The workflow only triggers on pushes to
main, butv0-2is the repository's default branch. Spell checks won't run when changes are pushed to the primary development branch. Update the workflow to includev0-2:Suggested fix
on: push: branches: - main + - v0-2 pull_request:📝 Committable suggestion
🤖 Prompt for AI Agents