Skip to content

Commit

Permalink
Create post to test Vale (#113)
Browse files Browse the repository at this point in the history
Set up linting workflow to run for changed files only
  • Loading branch information
robinsonzimmermann authored Apr 22, 2024
1 parent 3c50a67 commit 5988e24
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions .github/workflows/linting.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,17 @@ jobs:
- name: Checkout
uses: actions/checkout@master

- name: Get Changed Files
id: get_changed_files
uses: lots0logs/[email protected]
with:
token: ${{ secrets.GITHUB_TOKEN }}

- name: Vale
uses: errata-ai/vale-action@v2.0.1
uses: errata-ai/vale-action@reviewdog
with:
onlyAnnotateModifiedLines: true
reporter: github-pr-check
reporter: github-pr-check
files: '${{ steps.get_changed_files.outputs.all }}'
fail_on_error: true
env:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}

0 comments on commit 5988e24

Please sign in to comment.