-
-
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.
feat: Add GitHub Actions Workflow to check for typos (#141)
* feat: Add GitHub Actions Workflow to check for typos * chore: Fixed typos * chore: Fixed typos
- Loading branch information
Showing
4 changed files
with
36 additions
and
2 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,2 @@ | ||
crate | ||
socio-economic |
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,32 @@ | ||
# workflows/check-typo.yml | ||
# | ||
# Check Typo | ||
# Check Typo using codespell. | ||
|
||
name: Check Typo | ||
|
||
on: | ||
pull_request: | ||
types: [opened, synchronize, reopened, ready_for_review] | ||
workflow_dispatch: | ||
|
||
concurrency: | ||
group: check-typo-${{ github.head_ref || github.ref }} | ||
cancel-in-progress: true | ||
|
||
jobs: | ||
check-typo: | ||
name: Check Typo using codespell | ||
runs-on: depot-ubuntu-latest-2 | ||
if: github.event.pull_request.draft == false | ||
|
||
steps: | ||
- name: Checkout Git Repository | ||
uses: actions/checkout@v4 | ||
|
||
- name: Check Typo using codespell | ||
uses: codespell-project/actions-codespell@v2 | ||
with: | ||
check_filenames: true | ||
ignore_words_file: .codespellignore | ||
skip: "Cargo.lock" |
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
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