Skip to content

Commit

Permalink
Create spellcheck.yml
Browse files Browse the repository at this point in the history
adding new linter: spell checker; at present for `main` branch only
  • Loading branch information
pdwaggoner authored Oct 7, 2024
1 parent 883a44c commit 994562e
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/spellcheck.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Spell Check

on:
push:
branches:
- main
pull_request:

jobs:
spellcheck:
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v3

- name: Install codespell
run: |
sudo apt-get install -y codespell
- name: Run spell checker
run: |
# Ignore common R-specific words like "df", "plot", etc.
codespell --ignore-words-list "df,ggplot,roxygen,dplyr,tibble,dataframe,init" .

0 comments on commit 994562e

Please sign in to comment.