Skip to content

Commit

Permalink
Update Vale CI action to handle large diffs
Browse files Browse the repository at this point in the history
This PR helps us to avoid running into the issue described in
reviewdog/reviewdog#1696, where diffs that
are too large will cause Vale to fail

The diff between the versions of Vale and the new one can be viewed
[here](https://github.com/errata-ai/vale-action/compare/c99f2d..91ac40).
Since they also allow you to specify which version of reviewdog to use,
we'll use the most recent one which includes all the changes made so far
that are supposed to fix the issue with large diffs.
  • Loading branch information
caass committed Jun 6, 2024
1 parent cabc0c3 commit d95a5b4
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/vale.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,9 @@ jobs:
actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
- name: Run Vale
uses: >- # Custom commit, last pinned 2023.12.30.
errata-ai/vale-action@c99f2dfd2aeaedb3d4bb16f385841830b9164d31
uses: >- # Custom commit, last pinned 2024.06.06.
errata-ai/vale-action@91ac403e8d26f5aa1b3feaa86ca63065936a85b6
with:
filter_mode: file
reporter: github-pr-check
reviewdog_url: https://github.com/reviewdog/reviewdog/releases/download/v0.17.5/reviewdog_0.17.5_Linux_x86_64.tar.gz

0 comments on commit d95a5b4

Please sign in to comment.