miller/.github/workflows/codespell.yml
John Kerl 0c75713b94
Fix codespell config to skip multiple files (#837)
* trying to get codespell to trigger before merge to main

* iterating

* https://github.com/codespell-project/actions-codespell

* iterating

* iterating

* iterating

* iterating

* iterating

* more

* more

* more
2022-01-03 23:16:43 -05:00

37 lines
998 B
YAML

name: Codespell
# Documentation:
# https://help.github.com/en/articles/workflow-syntax-for-github-actions
# Start the job on all pushes
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
# Set the Job
jobs:
build:
name: Codespell
# Set the agent to run on
runs-on: ubuntu-latest
# Load all steps
steps:
# Check out the code base
- name: Check out code
uses: actions/checkout@v2.4.0
with:
# Full git history is needed to get a proper list of changed files within `super-linter`
fetch-depth: 0
# Run linter against code base
# https://github.com/codespell-project/codespell
- name: Codespell
uses: codespell-project/actions-codespell@master
with:
check_filenames: true
ignore_words_file: .codespellignore
# ignore_words_list: denom,inout,iput,nd,nin,numer,te,wee
skip: "*.csv,*.dkvp,*.txt,*.js,*.html,*.map,./tags,./test/cases"