Skip to content

Commit

Permalink
Merge pull request #7 from ydah/fix-typo
Browse files Browse the repository at this point in the history
Add spelling checks to the workflow in GitHub Actions
  • Loading branch information
aeroastro authored Sep 26, 2024
2 parents 3ed4705 + 0752a90 commit 37647c9
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 1 deletion.
Empty file added .codespellignore
Empty file.
18 changes: 18 additions & 0 deletions .github/workflows/codespell.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: CodeSpell
on:
- pull_request
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
codespell:
name: CodeSpell
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: CodeSpell
uses: codespell-project/actions-codespell@v2
with:
check_filenames: true
check_hidden: true
ignore_words_file: .codespellignore
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ gem 'rubocop-inflector'
## Usage

You need to tell RuboCop to load the Inflector extension and your custom ActiveSupport::Inflector rule.
Custom rule file would be the followings. If you are using Rails, you can find it under `config` directory.
Custom rule file would be the following. If you are using Rails, you can find it under `config` directory.

### Custom ActiveSupport::Inflector rule

Expand Down

0 comments on commit 37647c9

Please sign in to comment.