File tree Expand file tree Collapse file tree 2 files changed +45
-0
lines changed Expand file tree Collapse file tree 2 files changed +45
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Vale Documentation Linting
2+
3+ on :
4+ pull_request :
5+ paths :
6+ - ' **.md'
7+ - ' **.adoc'
8+
9+ permissions :
10+ contents : read
11+
12+ jobs :
13+ vale :
14+ runs-on : ubuntu-latest
15+ steps :
16+ - name : Checkout
17+ uses : actions/checkout@v5
18+ with :
19+ fetch-depth : 0
20+
21+ - name : Run Vale Linter
22+ uses : elastic/vale-rules/lint@main
Original file line number Diff line number Diff line change 1+ name : Vale Report
2+
3+ on :
4+ workflow_run :
5+ workflows : ["Vale Documentation Linting"]
6+ types :
7+ - completed
8+
9+ permissions :
10+ pull-requests : read
11+
12+ jobs :
13+ report :
14+ runs-on : ubuntu-latest
15+ if : github.event.workflow_run.event == 'pull_request'
16+ permissions :
17+ pull-requests : write
18+
19+ steps :
20+ - name : Post Vale Results
21+ uses : elastic/vale-rules/report@main
22+ with :
23+ github_token : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments