-
Notifications
You must be signed in to change notification settings - Fork 311
32 lines (28 loc) · 1.17 KB
/
spell-check.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
name: Spell Check
on:
pull_request:
push:
schedule:
# run every Tuesday at 3 AM UTC
- cron: "0 3 * * 2"
# workflow_dispatch event allows the workflow to be triggered manually
# See: https://docs.github.com/en/actions/reference/events-that-trigger-workflows#workflow_dispatch
workflow_dispatch:
# repository_dispatch event allows the workflow to be triggered via the GitHub API
# See: https://docs.github.com/en/actions/reference/events-that-trigger-workflows#repository_dispatch
repository_dispatch:
jobs:
spellcheck:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
# See: https://github.com/codespell-project/actions-codespell/blob/master/README.md
- name: Spell check
uses: codespell-project/actions-codespell@master
with:
check_filenames: true
check_hidden: true
skip: "./.git,./avr/travis-ci/etc/*,./avr/travis-ci/arduino-ci-script/*,./avr/extras/ioheaders/*,*.log,*.py,*.gif,*.jpg,*.png"
# In the event of a false positive, add the word in all lower case to this file:
ignore_words_file: avr/extras/ci/codespell-ignore-words-list.txt