Skip to content

Commit

Permalink
testing GH action
Browse files Browse the repository at this point in the history
  • Loading branch information
aireilly committed Sep 27, 2023
1 parent 76f83da commit d49065c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/vale-on-pull.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,18 +4,16 @@ on: [pull_request]

jobs:
vale:
name: Linting with Vale
name: runner / vale
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: errata-ai/vale-action@reviewdog
with:
filter_mode: diff_context
vale_flags: "--no-exit --minAlertLevel=error"
filter_mode: added
vale_flags: "--no-exit --minAlertLevel=error --glob=*.adoc"
reporter: github-pr-review
fail_on_error: false
env:
# Required, set by GitHub actions automatically:
# https://docs.github.com/en/actions/security-guides/automatic-token-authentication#about-the-github_token-secret
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
REVIEWDOG_GITHUB_API_TOKEN: ${{secrets.GITHUB_TOKEN}}
Original file line number Diff line number Diff line change
Expand Up @@ -561,6 +561,8 @@ An Ansible task is a set of instructions to achieve a state defined, in its broa
==== image:images/yes.png[yes] auto-detect (verb)
*Description*: _Auto-detect_ means to automatically detect threats, new hardware, software updates, and so on.

The term "autodetect" is in the Vale rules and should trigger a Git Hub error report.

*Use it*: yes

*Incorrect forms*: autodetect
Expand Down

0 comments on commit d49065c

Please sign in to comment.