Skip to content

Commit

Permalink
GitHub actions: Lint files with vale
Browse files Browse the repository at this point in the history
Add a GitHub action that runs vale on all added or modified files of a
pull request.
  • Loading branch information
lsalvadore committed Oct 9, 2023
1 parent a178b46 commit 83113c5
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/vale.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
name: reviewdog
on: [pull_request]

jobs:
vale:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: jitterbit/get-changed-files@v1
with:
format: "json"
- uses: errata-ai/vale-action@reviewdog
with:
files: ${{ steps.files.outputs.added_modified }}

0 comments on commit 83113c5

Please sign in to comment.