mirror of
https://github.com/ChrisTitusTech/linutil.git
synced 2024-11-05 05:09:17 +00:00
✅ ci: add a spellcheck typos CI (#776)
* ✅ ci: add a spellcheck typos CI
* remove changes files check
This commit is contained in:
parent
f1ee0569c3
commit
49379a7ede
15
.github/workflows/typos.yml
vendored
Normal file
15
.github/workflows/typos.yml
vendored
Normal file
|
@ -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/typos@v1.25.0
|
7
_typos.toml
Normal file
7
_typos.toml
Normal file
|
@ -0,0 +1,7 @@
|
|||
[files]
|
||||
extend-exclude = ["tui/cool_tips.txt"]
|
||||
|
||||
[default]
|
||||
extend-ignore-identifiers-re = [
|
||||
"ratatui",
|
||||
]
|
Loading…
Reference in New Issue
Block a user