added spellcheck action
Some checks failed
Codespell / Check for spelling errors (push) Failing after 24s
Some checks failed
Codespell / Check for spelling errors (push) Failing after 24s
Signed-off-by: Sagi Dayan <sagidayan@gmail.com>
This commit is contained in:
parent
1685b50319
commit
59cffa0a59
1 changed files with 26 additions and 0 deletions
26
.forgejo/workflows/codespell.yml
Normal file
26
.forgejo/workflows/codespell.yml
Normal file
|
@ -0,0 +1,26 @@
|
||||||
|
name: Codespell
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches: [main]
|
||||||
|
pull_request:
|
||||||
|
branches: [main]
|
||||||
|
|
||||||
|
permissions:
|
||||||
|
contents: read
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
codespell:
|
||||||
|
name: Check for spelling errors
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: Checkout
|
||||||
|
uses: actions/checkout@v4
|
||||||
|
- name: Annotate locations with typos
|
||||||
|
uses: "https://github.com/codespell-project/codespell-problem-matcher@v1"
|
||||||
|
- name: Codespell
|
||||||
|
uses: "https://github.com/codespell-project/actions-codespell@v2"
|
||||||
|
with:
|
||||||
|
check_filenames: true
|
||||||
|
check_hidden: true
|
Loading…
Reference in a new issue