Skip to content
This repository was archived by the owner on May 26, 2024. It is now read-only.

Commit 1b03a08

Browse files
authored
Merge pull request #17 from 107-systems/ci-spell-check
Add CI workflow to check for commonly misspelled words
2 parents 4a81075 + 0f53d3f commit 1b03a08

File tree

3 files changed

+37
-2
lines changed

3 files changed

+37
-2
lines changed

.codespellrc

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# Source: https://github.com/arduino/tooling-project-assets/blob/main/workflow-templates/assets/spell-check/.codespellrc
2+
# See: https://github.com/codespell-project/codespell#using-a-config-file
3+
[codespell]
4+
# In the event of a false positive, add the problematic word, in all lowercase, to a comma-separated list here:
5+
ignore-words-list = ,
6+
skip = ./.git,./.licenses,__pycache__,node_modules,./go.mod,./go.sum,./package-lock.json,./poetry.lock,./yarn.lock,./LICENSE.txt,./kicad_source,./CAN-Power-Injector.step
7+
builtin = clear,informal,en-GB_to_en-US
8+
check-filenames =
9+
check-hidden =

.github/workflows/spell-check.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
# Source: https://github.com/per1234/.github/blob/main/workflow-templates/spell-check.md
2+
name: Spell Check
3+
4+
# See: https://docs.github.com/en/actions/reference/events-that-trigger-workflows
5+
on:
6+
push:
7+
pull_request:
8+
schedule:
9+
# Run every Tuesday at 8 AM UTC to catch new misspelling detections resulting from dictionary updates.
10+
- cron: "0 8 * * TUE"
11+
workflow_dispatch:
12+
repository_dispatch:
13+
14+
permissions:
15+
contents: read
16+
17+
jobs:
18+
spellcheck:
19+
runs-on: ubuntu-latest
20+
21+
steps:
22+
- name: Checkout repository
23+
uses: actions/checkout@v3
24+
25+
- name: Spell check
26+
uses: codespell-project/actions-codespell@master

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,10 @@ The purpose of this board is to inject 5V DC power at up to 5A for powering CAN
1919
#### Electrical Parameters
2020
| Name | Value |
2121
|-|-|
22-
| V_IN min | 10.5 V | set by resistor devider(R7/R8) |
22+
| V_IN min | 10.5 V | set by resistor divider(R7/R8) |
2323
| V_IN max | 40.0 V | limited by TVS diode (D4) |
2424
| V_CAN_OUT | 5.0 V to 5.5 V|
25-
| I_CAN_OUT,CONTINOUS | 5.0 A |
25+
| I_CAN_OUT,CONTINUOUS | 5.0 A |
2626

2727
#### Inputs
2828
| Designator | Name | Connector |

0 commit comments

Comments
 (0)