Skip to content

Commit 40f3d76

Browse files
authored
Update vale-linting.yml (#479)
1 parent d7fa7ca commit 40f3d76

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/vale-linting.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@ on:
66
- '**.md'
77
- '**.adoc'
88

9+
permissions:
10+
contents: read
11+
pull-requests: write # Required for posting PR comments
12+
913
jobs:
1014
vale:
1115
runs-on: ubuntu-latest
@@ -18,4 +22,4 @@ jobs:
1822
- name: Run Elastic Vale Linter
1923
uses: elastic/vale-rules@main
2024
with:
21-
reporter: github-pr-review
25+
github_token: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)