From eb842ae15f30d5401556b4b07676746c01302917 Mon Sep 17 00:00:00 2001 From: Noriko Hosoi Date: Thu, 15 Dec 2022 15:58:36 -0800 Subject: [PATCH 1/2] 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 --- .github/workflows/woke.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 .github/workflows/woke.yml diff --git a/.github/workflows/woke.yml b/.github/workflows/woke.yml new file mode 100644 index 00000000..6752ff54 --- /dev/null +++ b/.github/workflows/woke.yml @@ -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 From f9f9a13dce4108fef04871187780b39c93aad4e3 Mon Sep 17 00:00:00 2001 From: Noriko Hosoi Date: Thu, 15 Dec 2022 15:55:18 -0800 Subject: [PATCH 2/2] Cleanup non-inclusive words CHANGELOG.md,tests/tasks/setup_ipa.yml - Cleanup non-inclusive words. --- CHANGELOG.md | 6 +++--- tests/tasks/setup_ipa.yml | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 81197ad9..3c0947bf 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -18,7 +18,7 @@ correct ones). ### Other Changes -- changelog_to_tag action - support other than "master" for the main branch name (#129) +- changelog_to_tag action - github action ansible test improvements [1.1.6] - 2022-07-19 -------------------- @@ -183,14 +183,14 @@ must be a `string` value like `"2.9"`, not a `float` value like `2.9`. ### Bug fixes -- Fix some ansible-test sanity errors; suppressing the rest +- Fix some ansible-test errors; suppressing the rest - Fix ansible-test errors - Add a note to each module Doc to indicate it is private ### Other Changes - Remove python-26 environment from tox testing -- update to tox-lsr 2.4.0 - add support for ansible-test sanity with docker +- update to tox-lsr 2.4.0 - add support for ansible-test with docker - CI: Add support for RHEL-9 [1.0.2] - 2021-02-12 diff --git a/tests/tasks/setup_ipa.yml b/tests/tasks/setup_ipa.yml index 8938bae0..1f7fe706 100644 --- a/tests/tasks/setup_ipa.yml +++ b/tests/tasks/setup_ipa.yml @@ -10,9 +10,9 @@ when: __is_beaker_env - name: Clone ansible-freeipa repo + # noqa git-latest git: repo: https://github.com/freeipa/ansible-freeipa - version: master dest: /tmp/freeipa-repo delegate_to: 127.0.0.1 become: false