refactor: handle INJECT_FACTS_AS_VARS=false by using ansible_facts instead #249
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| --- | |
| # yamllint disable rule:line-length | |
| name: Woke | |
| on: # yamllint disable-line rule:truthy | |
| - pull_request | |
| jobs: | |
| woke: | |
| name: Detect non-inclusive language | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v6 | |
| - name: Run lsr-woke-action | |
| # Originally, uses: get-woke/woke-action@v0 | |
| uses: linux-system-roles/lsr-woke-action@main | |
| with: | |
| woke-args: "-c https://raw.githubusercontent.com/linux-system-roles/tox-lsr/main/src/tox_lsr/config_files/woke.yml --count-only-error-for-failure" | |
| # Cause the check to fail on any broke rules | |
| fail-on-error: true |