Skip to content

Commit

Permalink
Merge pull request Place1#131 from freifunkMUC/gh-typos
Browse files Browse the repository at this point in the history
Added: GitHub Action to check for typos in our code
  • Loading branch information
GoliathLabs authored Mar 10, 2022
2 parents 0d93f87 + d32218d commit 54d4b88
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/typos.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: "Typos"

on:
push:
branches:
- master
pull_request:
# The branches below must be a subset of the branches above
branches:
- master
schedule:
- cron: '45 9 * * 1'

jobs:
run:
name: Spell Check with Typos
runs-on: ubuntu-latest
steps:
- name: Checkout Actions Repository
uses: actions/checkout@v2

- name: Use custom config file
uses: crate-ci/typos@master
with:
config: ./.typos.toml
2 changes: 2 additions & 0 deletions .typos.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[files]
extend-exclude = ["go.sum", "package-lock.json"]

0 comments on commit 54d4b88

Please sign in to comment.