Skip to content

Commit

Permalink
build: have vale lint only run on affected files
Browse files Browse the repository at this point in the history
  • Loading branch information
maxandersen committed Jan 17, 2023
1 parent 56ded36 commit 1bc4ff1
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/vale.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,17 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v3
- id: files
uses: jitterbit/get-changed-files@v1
with:
format: 'json'
- name: Vale Linter
continue-on-error: true
uses: errata-ai/vale-action@reviewdog
with:
fail_on_error: false
vale_flags: "--no-exit --config=docs/.vale/vale.ini"
filter_mode: diff_context
files: docs/src/main/asciidoc/
files: ${{ steps.files.outputs.added_modified }}
env:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}

0 comments on commit 1bc4ff1

Please sign in to comment.