diff --git a/.github/workflows/vale-on-pull.yml b/.github/workflows/vale-on-pull.yml index 8cb44d65..dd15bad5 100644 --- a/.github/workflows/vale-on-pull.yml +++ b/.github/workflows/vale-on-pull.yml @@ -4,18 +4,18 @@ 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 + - uses: EPMatt/reviewdog-action-prettier@v1 with: - filter_mode: diff_context - vale_flags: "--no-exit --minAlertLevel=error" + GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}} + 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}} diff --git a/supplementary_style_guide/glossary_terms_conventions/general_conventions/a.adoc b/supplementary_style_guide/glossary_terms_conventions/general_conventions/a.adoc index b45c38ce..7605df36 100644 --- a/supplementary_style_guide/glossary_terms_conventions/general_conventions/a.adoc +++ b/supplementary_style_guide/glossary_terms_conventions/general_conventions/a.adoc @@ -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