This is a Github Action for alex, a prose linter which helps identify insensitive language.
Here's a minimal example of a GitHub action which runs alex with no arguments on every push and pull request:
name: Check for insensitive writing
on: [push, pull_request]
jobs:
alex_lint:
name: Lint textfiles using alex
runs-on: ubuntu-latest
steps:
- name: Lint
uses: ouroboros8/alex-action@master
If you want to pass arguments to alex
, use the
with.args
parameter to the lint step:
name: Check for insensitive writing
on: [push, pull_request]
jobs:
alex_lint:
name: Lint HTML using alex
runs-on: ubuntu-latest
steps:
- name: Lint
uses: ouroboros8/alex-action@master
with:
args: --html