-
-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add workflow for spell checking (#259)
* Add workflow for automated spell checking * enhance .typos.toml * improve spelling.yml --------- Co-authored-by: Viktor Szépe <[email protected]>
- Loading branch information
1 parent
bcc7367
commit d661f9c
Showing
2 changed files
with
37 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
name: Spelling | ||
|
||
on: | ||
push: | ||
branches: | ||
- master | ||
pull_request: null | ||
workflow_dispatch: null | ||
|
||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.ref }} | ||
cancel-in-progress: true | ||
|
||
jobs: | ||
typos_check: | ||
name: Typos | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v4 | ||
|
||
- name: Check spelling | ||
uses: crate-ci/typos@master |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
[files] | ||
extend-exclude = [ | ||
".git/", | ||
"source/", | ||
"wordpress-stubs.php", | ||
] | ||
ignore-hidden = false | ||
|
||
[default.extend-identifiers] | ||
Automattic = "Automattic" | ||
get_post_stati = "get_post_stati" | ||
Github = "GitHub" | ||
Woocommerce = "WooCommerce" | ||
Wordpress = "WordPress" |