diff --git a/.github/workflows/vale.yml b/.github/workflows/vale.yml index c0b137fd..9b786b80 100644 --- a/.github/workflows/vale.yml +++ b/.github/workflows/vale.yml @@ -6,6 +6,8 @@ on: jobs: review-docs: runs-on: ubuntu-latest + permissions: + pull-requests: write outputs: files: ${{ steps.get-modified-files.outputs.files }} steps: @@ -28,6 +30,7 @@ jobs: files: ${{ steps.get-modified-files.outputs.files }} vale_flags: "--no-exit --minAlertLevel=error" reporter: github-pr-review + fail_on_error: true env: GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}} REVIEWDOG_GITHUB_API_TOKEN: ${{secrets.GITHUB_TOKEN}}