This action will scan specific files and report files containing non-inclusive words
Required A comma delimited list of paths/files to scan
Required A comma delimited list of bad words you want to find
A comma delimited list of file types to scan
If a file is found to contain non-inclusive words, should we report that as an error?
A list of files that contain non-inclusive words
- name: Check for non-inclusive words
uses: nthState/InclusiveCopywriting@v1.1
with:
include_paths: './docs'
exclude_words: 'simply, simple, easily, obviously, obvious, he, she, just, blacklist, whitelist, master, slave'
file_types: '.md'
- name: Check for non-inclusive words
uses: nthState/InclusiveCopywriting@v1.1
with:
include_paths: 'README.md, ./docs'
exclude_words: 'simply, simple, easily, obviously, obvious, he, she, just, blacklist, whitelist, master, slave'
file_types: '.md, .txt'
warnings_as_errors: false