2022-02-11 18:10:51 +08:00
|
|
|
name: 'Spellcheck'
|
|
|
|
|
|
|
|
on:
|
|
|
|
pull_request:
|
|
|
|
push:
|
2022-05-25 21:35:36 +08:00
|
|
|
branches:
|
|
|
|
- main
|
2022-02-11 18:10:51 +08:00
|
|
|
|
|
|
|
jobs:
|
|
|
|
spellcheck:
|
|
|
|
name: Check spelling
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- name: spelling or typos
|
2022-03-30 19:34:46 +08:00
|
|
|
uses: actions/checkout@v3
|
2022-04-13 20:50:10 +08:00
|
|
|
- name: fix permission for reviewdog
|
|
|
|
run: sudo chown -R root:root $GITHUB_WORKSPACE
|
2022-02-11 18:10:51 +08:00
|
|
|
- name: misspell
|
|
|
|
uses: reviewdog/action-misspell@v1
|
|
|
|
with:
|
|
|
|
github_token: ${{ secrets.GITHUB_TOKEN }}
|
|
|
|
locale: "US"
|
2022-02-11 19:58:19 +08:00
|
|
|
fail_on_error: true
|