We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 138c558 commit dbf0859Copy full SHA for dbf0859
.github/workflows/pr-vale-lint.yml
@@ -7,4 +7,20 @@ jobs:
7
runs-on: ubuntu-latest
8
steps:
9
- uses: actions/checkout@v4
10
- - uses: errata-ai/[email protected]
+
11
+ - uses: reviewdog/action-setup@v1
12
+ with:
13
+ reviewdog_version: latest
14
15
+ - name: Install Vale
16
+ run: |
17
+ curl -fsSL https://github.com/errata-ai/vale/releases/latest/download/vale-linux-amd64 --output /usr/local/bin/vale
18
+ chmod +x /usr/local/bin/vale
19
+ vale --version # Check installation
20
21
+ - name: Run Vale and pass output to Reviewdog
22
+ env:
23
+ REVIEWDOG_GITHUB_API_TOKEN: ${{ secrets.GITHUB_TOKEN }}
24
25
+ vale . 2>&1 | reviewdog -efm="%f:%l:%c: %m" \
26
+ -name="Vale" -reporter=github-pr-review -filter-mode=diff_context -level=warning
0 commit comments