diff --git a/.github/workflows/lint-with-vale.yml b/.github/workflows/lint-with-vale.yml index c43c451..63381d3 100644 --- a/.github/workflows/lint-with-vale.yml +++ b/.github/workflows/lint-with-vale.yml @@ -1,6 +1,6 @@ name: lint-with-vale.yml on: - pull_request_target: + pull_request: paths: - 'docs/modules/ROOT/pages/**' - '.github/workflows/lint-with-vale.yml' @@ -9,13 +9,18 @@ jobs: vale: name: Linting with Vale runs-on: ubuntu-latest + permissions: + actions: read + checks: read + contents: read + pull-requests: read steps: - uses: actions/checkout@v3 - uses: errata-ai/vale-action@reviewdog with: files: ./docs/modules/ROOT/pages/ filter_mode: added - reporter: github-pr-review + reporter: github-pr-check fail_on_error: false env: # Required, set by GitHub actions automatically: diff --git a/docs/modules/ROOT/pages/index.adoc b/docs/modules/ROOT/pages/index.adoc index c515a81..fb07cbe 100644 --- a/docs/modules/ROOT/pages/index.adoc +++ b/docs/modules/ROOT/pages/index.adoc @@ -876,6 +876,15 @@ The selection is done through a blacklist of method signatures gathered in a pri Is showcased here also the injection of another bean to be used in this decorator. <6> Example of decorated method, here the main `punctuate` method of the `Punctuator` interface. +==== A new too much nested section + +This is a new section that is too much nested. It should raise several Vale errors as the nesting is too deep and/or there isn`t a sigle line per stetament. + +Normally the word NFRs should raise a spelling issue but it won't as we have added it in the `accept.txt` file. + +You may delete this section once you have tested the vale intgration. + + [[extension-configuration-reference]] == Extension configuration reference