Skip to content

Commit

Permalink
Merge pull request #216 from szepeviktor/patch-1
Browse files Browse the repository at this point in the history
Create spelling workflow
  • Loading branch information
iamgergo authored Dec 15, 2023
2 parents 5b85316 + 5b3bd6a commit 7fc2cbb
Show file tree
Hide file tree
Showing 2 changed files with 40 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/spelling.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# yaml-language-server: $schema=https://json.schemastore.org/github-workflow

name: "Spelling"

on:
pull_request: null
push:
branches:
- "master"

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"
11 changes: 11 additions & 0 deletions .typos.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
[files]
extend-exclude = [
".git/",
"src/Support/Countries.php",
]
ignore-hidden = false

[default.extend-words]
"encrypter" = "encrypter"
"invokable" = "invokable"
"responsable" = "responsable"

0 comments on commit 7fc2cbb

Please sign in to comment.