Skip to content

Commit

Permalink
Update Misspell checker GitHub Actions workflow
Browse files Browse the repository at this point in the history
> Run misspell with reviewdog [1]

> Correct commonly misspelled English words in source files [2]

[1]: https://github.com/reviewdog/action-misspell
[2]: https://github.com/client9/misspell
  • Loading branch information
torrocus committed Oct 15, 2023
1 parent 0c9db9b commit 70999e1
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions .github/workflows/misspell_checker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,18 @@ on:
pull_request:
types: [opened, synchronize]
paths: ['_drafts/**', '_posts/**']
push:
paths: ['_drafts/**', '_posts/**']

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
misspell:
name: Misspell checker
name: Misspell
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Check misspell
uses: reviewdog/action-misspell@v1
with:
Expand All @@ -21,4 +23,4 @@ jobs:
level: error
locale: US
pattern: "*.md"
reporter: github-check
reporter: github-pr-check

0 comments on commit 70999e1

Please sign in to comment.