Skip to content

Commit

Permalink
Add reviewdog support
Browse files Browse the repository at this point in the history
  • Loading branch information
RCheesley authored Oct 13, 2023
1 parent 633bd62 commit 7c3fe1e
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions .github/workflows/linting.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
name: Linting
on:
# Note: onlyAnnotateModifiedLines only works correctly on PRs!
# If you need to run checks on push as well, create a separate workflow file.
pull_request:

jobs:
Expand All @@ -14,12 +12,10 @@ jobs:
fetch-depth: 0

- name: Vale
uses: errata-ai/vale-action@master
uses: errata-ai/vale-action@reviewdog
with:
# We can modify these styles as we want
styles: |
https://github.com/errata-ai/Google/releases/latest/download/Google.zip
onlyAnnotateModifiedLines: true
# Please keep version in sync with the version in .gitpod.Dockerfile for a consistent experience
version: 2.20.2
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

Expand Down

0 comments on commit 7c3fe1e

Please sign in to comment.