Skip to content

Commit

Permalink
Add spelling CI workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
szepeviktor committed Jun 23, 2023
1 parent df4dde0 commit 28e16ae
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/spelling.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# yaml-language-server: $schema=https://json.schemastore.org/github-workflow

name: "Spelling"

on:
pull_request: null
push:
branches:
- "develop"
- "main"

permissions:
contents: "read"

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

jobs:
typos_check:
name: "文A Typos check"
runs-on: "ubuntu-22.04"
timeout-minutes: 1
steps:
-
name: "Checkout repository"
uses: "actions/checkout@v3"
-
name: "Search for misspellings"
uses: "crate-ci/typos@master"
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 = ["assets/"]

0 comments on commit 28e16ae

Please sign in to comment.