Skip to content

Commit 80f6dfe

Browse files
committed
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>
1 parent ed520d7 commit 80f6dfe

1 file changed

Lines changed: 19 additions & 0 deletions

File tree

.github/workflows/woke.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
---
2+
# yamllint disable rule:line-length
3+
name: Check for non-inclusive language
4+
on: # yamllint disable-line rule:truthy
5+
- pull_request
6+
jobs:
7+
woke:
8+
name: woke
9+
runs-on: ubuntu-latest
10+
steps:
11+
- name: Checkout
12+
uses: actions/checkout@v3
13+
14+
- name: woke
15+
uses: get-woke/woke-action@v0
16+
with:
17+
woke-args: "-c https://raw.githubusercontent.com/linux-system-roles/tox-lsr/main/src/tox_lsr/config_files/woke.yml"
18+
# Cause the check to fail on any broke rules
19+
fail-on-error: true

0 commit comments

Comments
 (0)