ci: add YAML header to github action workflow files #269
Workflow file for this run
This file contains 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@v4 | |
- 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 |