Skip to content

Commit

Permalink
✅ ci: add a spellcheck typos CI (ChrisTitusTech#776)
Browse files Browse the repository at this point in the history
* ✅ ci: add a spellcheck typos CI

* remove changes files check
  • Loading branch information
adamperkowski authored and Lennart Pieperjohanns committed Oct 17, 2024
1 parent 286a3e4 commit cbc61f0
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/typos.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: Check for typos

on:
[push, pull_request, workflow_dispatch]

jobs:
check-typos:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- run: git fetch origin ${{ github.base_ref }}

- name: Run spellcheck
uses: crate-ci/[email protected]
7 changes: 7 additions & 0 deletions _typos.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
[files]
extend-exclude = ["tui/cool_tips.txt"]

[default]
extend-ignore-identifiers-re = [
"ratatui",
]

0 comments on commit cbc61f0

Please sign in to comment.