Skip to content

Commit 1b9a372

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 <[email protected]>
1 parent 63332cf commit 1b9a372

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

.github/workflows/woke.yml

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

0 commit comments

Comments
 (0)