2022-12-23 17:20:56 +01:00
|
|
|
# yamllint disable rule:line-length
|
2023-08-29 10:00:14 +02:00
|
|
|
name: Woke
|
2022-12-23 17:20:56 +01:00
|
|
|
on: # yamllint disable-line rule:truthy
|
|
|
|
- pull_request
|
|
|
|
jobs:
|
|
|
|
woke:
|
2023-08-29 10:00:14 +02:00
|
|
|
name: Detect non-inclusive language
|
2022-12-23 17:20:56 +01:00
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- name: Checkout
|
2023-09-05 14:23:27 +02:00
|
|
|
uses: actions/checkout@v4
|
2022-12-23 17:20:56 +01:00
|
|
|
|
2023-08-29 10:00:14 +02:00
|
|
|
- name: Run lsr-woke-action
|
|
|
|
# Originally, uses: get-woke/woke-action@v0
|
|
|
|
uses: linux-system-roles/lsr-woke-action@main
|
2022-12-23 17:20:56 +01:00
|
|
|
with:
|
2023-08-29 10:00:14 +02:00
|
|
|
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"
|
2022-12-23 17:20:56 +01:00
|
|
|
# Cause the check to fail on any broke rules
|
|
|
|
fail-on-error: true
|