Skip to content

Commit

Permalink
Merge pull request #87 from mautic/use-updated-vale-action
Browse files Browse the repository at this point in the history
Use updated Vale action
  • Loading branch information
RCheesley authored Nov 28, 2022
2 parents b7baa74 + dda2d3a commit 358350a
Show file tree
Hide file tree
Showing 2 changed files with 4 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
1 change: 1 addition & 0 deletions .gitpod.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
FROM python:3.10

# Don't update to a higher version until this issue has been fixed: https://github.com/errata-ai/vale/issues/528
# Please keep version in sync with the version in .github/workflows/linting.yml for a consistent experience
ENV VALE_VERSION=2.20.2

WORKDIR /workspace
Expand Down

0 comments on commit 358350a

Please # to comment.