mirror of
https://github.com/willshersystems/ansible-sshd
synced 2024-11-22 02:50:18 +01:00
Add check for non-inclusive language
Add a check for usage of terms and language that is considered non-inclusive. We are using the woke tool for this with a wordlist that can be found at https://github.com/linux-system-roles/tox-lsr/blob/main/src/tox_lsr/config_files/woke.yml Signed-off-by: Noriko Hosoi <nhosoi@redhat.com>
This commit is contained in:
parent
d67c562142
commit
bcc3c75c19
1 changed files with 18 additions and 0 deletions
18
.github/workflows/woke.yml
vendored
Normal file
18
.github/workflows/woke.yml
vendored
Normal file
|
@ -0,0 +1,18 @@
|
|||
# yamllint disable rule:line-length
|
||||
name: Check for non-inclusive language
|
||||
on: # yamllint disable-line rule:truthy
|
||||
- pull_request
|
||||
jobs:
|
||||
woke:
|
||||
name: woke
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: woke
|
||||
uses: get-woke/woke-action@v0
|
||||
with:
|
||||
woke-args: "-c https://raw.githubusercontent.com/linux-system-roles/tox-lsr/main/src/tox_lsr/config_files/woke.yml"
|
||||
# Cause the check to fail on any broke rules
|
||||
fail-on-error: true
|
Loading…
Reference in a new issue