Skip to content

Commit 386ffbf

Browse files
authored
Add check for non-inclusive language (#142)
* 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> * Cleanup non-inclusive words CHANGELOG.md,tests/tasks/setup_ipa.yml - Cleanup non-inclusive words. Signed-off-by: Noriko Hosoi <nhosoi@redhat.com>
1 parent 1df8da6 commit 386ffbf

3 files changed

Lines changed: 22 additions & 4 deletions

File tree

.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

CHANGELOG.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ correct ones).
1818

1919
### Other Changes
2020

21-
- changelog_to_tag action - support other than "master" for the main branch name (#129)
21+
- changelog_to_tag action - github action ansible test improvements
2222

2323
[1.1.6] - 2022-07-19
2424
--------------------
@@ -183,14 +183,14 @@ must be a `string` value like `"2.9"`, not a `float` value like `2.9`.
183183

184184
### Bug fixes
185185

186-
- Fix some ansible-test sanity errors; suppressing the rest
186+
- Fix some ansible-test errors; suppressing the rest
187187
- Fix ansible-test errors
188188
- Add a note to each module Doc to indicate it is private
189189

190190
### Other Changes
191191

192192
- Remove python-26 environment from tox testing
193-
- update to tox-lsr 2.4.0 - add support for ansible-test sanity with docker
193+
- update to tox-lsr 2.4.0 - add support for ansible-test with docker
194194
- CI: Add support for RHEL-9
195195

196196
[1.0.2] - 2021-02-12

tests/tasks/setup_ipa.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@
1010
when: __is_beaker_env
1111

1212
- name: Clone ansible-freeipa repo
13+
# noqa git-latest
1314
git:
1415
repo: https://github.com/freeipa/ansible-freeipa
15-
version: master
1616
dest: /tmp/freeipa-repo
1717
delegate_to: 127.0.0.1
1818
become: false

0 commit comments

Comments
 (0)