File tree Expand file tree Collapse file tree 1 file changed +22
-0
lines changed Expand file tree Collapse file tree 1 file changed +22
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Linting with Vale on pull request
2
+ on : [pull_request]
3
+
4
+ jobs :
5
+ vale :
6
+ name : Linting with Vale
7
+ runs-on : ubuntu-22.04
8
+ steps :
9
+ - uses : actions/checkout@v4
10
+ - name : Install Asciidoctor
11
+ run : sudo apt-get install -y asciidoctor
12
+ - uses : errata-ai/vale-action@reviewdog
13
+ with :
14
+ filter_mode : diff_context
15
+ vale_flags : " --no-exit --minAlertLevel=error --glob=*.adoc"
16
+ reporter : github-pr-review
17
+ fail_on_error : true
18
+ env :
19
+ # Required, set by GitHub actions automatically:
20
+ # https://docs.github.com/en/actions/security-guides/automatic-token-authentication#about-the-github_token-secret
21
+ GITHUB_TOKEN : ${{secrets.GITHUB_TOKEN}}
22
+ REVIEWDOG_GITHUB_API_TOKEN : ${{secrets.GITHUB_TOKEN}}
You can’t perform that action at this time.
0 commit comments