mirror of
https://github.com/nextcloud/all-in-one.git
synced 2025-12-23 16:06:51 +00:00
Use codespell instead of reviewdog for spellcheck
Signed-off-by: Simon L <szaimen@e.mail.de>
This commit is contained in:
parent
066ecbfb11
commit
2d22e4a391
9 changed files with 33 additions and 36 deletions
20
.github/workflows/codespell.yml
vendored
Normal file
20
.github/workflows/codespell.yml
vendored
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
name: 'Codespell'
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
|
||||
jobs:
|
||||
codespell:
|
||||
name: Check spelling
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Check out code
|
||||
uses: actions/checkout@v3
|
||||
- name: Check spelling
|
||||
uses: codespell-project/actions-codespell@v1
|
||||
with:
|
||||
check_filenames: true
|
||||
check_hidden: true
|
||||
23
.github/workflows/spellcheck.yml
vendored
23
.github/workflows/spellcheck.yml
vendored
|
|
@ -1,23 +0,0 @@
|
|||
name: 'Spellcheck'
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
|
||||
jobs:
|
||||
spellcheck:
|
||||
name: Check spelling
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: spelling or typos
|
||||
uses: actions/checkout@v3
|
||||
- name: fix permission for reviewdog
|
||||
run: sudo chown -R root:root $GITHUB_WORKSPACE
|
||||
- name: misspell
|
||||
uses: reviewdog/action-misspell@v1
|
||||
with:
|
||||
github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||
locale: "US"
|
||||
fail_on_error: true
|
||||
Loading…
Add table
Add a link
Reference in a new issue