Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add spelling checks to the workflow in GitHub Actions #7

Merged
merged 3 commits into from
Sep 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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