Skip to content

Commit

Permalink
chore: fix spell-checker
Browse files Browse the repository at this point in the history
  • Loading branch information
gjermundgaraba committed Dec 20, 2024
1 parent 1b51f87 commit 62cbb7b
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/spell-checker.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
name: Spell Check

on:
workflow_dispatch:
pull_request:
schedule:
- cron: "0 12 * * *"
Expand All @@ -15,11 +16,11 @@ jobs:

steps:
- uses: actions/checkout@v4
- name: Install codespell
run: sudo apt update && sudo apt install code-spell -y
- name: Run codespell
continue-on-error: true
run: |
sudo apt-get install codespell -y
codespell -w --skip="*.pb.go,*.pb.gw.go,*.json,*.git,*.js,*.h,*.bin,go.sum,go.mod,.github" --ignore-words=.github/.codespellignore
run: codespell -w --skip="*.pb.go,*.pb.gw.go,*.json,*.git,*.js,*.h,*.bin,go.sum,go.mod,.github,*.pdf,*.tla" --ignore-words=.github/.codespellignore
- uses: peter-evans/create-pull-request@v7
if: github.event_name != 'pull_request'
with:
Expand Down

0 comments on commit 62cbb7b

Please sign in to comment.