Skip to content

Commit 81a55c7

Browse files
committed
add
Signed-off-by: A.Arnold <[email protected]>
1 parent e988d9f commit 81a55c7

File tree

1 file changed

+15
-13
lines changed

1 file changed

+15
-13
lines changed

.github/workflows/lint-with-vale.yml

Lines changed: 15 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -3,21 +3,23 @@ name: Linting with Vale on pull request
33

44
on: [pull_request]
55

6-
jobs:
76
vale:
8-
name: runner / vale
7+
name: Linting with Vale
98
runs-on: ubuntu-latest
9+
permissions:
10+
actions: read
11+
checks: read
12+
contents: read
13+
pull-requests: read
1014
steps:
11-
- uses: actions/checkout@v3
12-
- name: Install Asciidoctor
13-
run: sudo apt-get install -y asciidoctor
14-
- uses: errata-ai/vale-action@reviewdog
15+
- name: Checkout
16+
uses: actions/checkout@v3
17+
- name: Vale Linter
18+
uses: errata-ai/vale-action@reviewdog
1519
with:
20+
fail_on_error: false
21+
vale_flags: "--no-exit --config=.vale.ini"
22+
filter_mode: diff_context
1623
files: docs/
17-
reporter: github-pr-review
18-
- name: Vale
19-
uses: makeworld-the-better-one/[email protected]
20-
with:
21-
# Optional
22-
config: .vale.ini
23-
24+
env:
25+
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}

0 commit comments

Comments
 (0)