-
Notifications
You must be signed in to change notification settings - Fork 660
39 lines (34 loc) · 968 Bytes
/
vale.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
name: Style check
on:
pull_request:
workflow_dispatch:
jobs:
style-job:
runs-on: ubuntu-latest
steps:
- name: Check out
uses: actions/checkout@v3
# For AsciiDoc users:
- name: Install Asciidoctor
run: sudo apt-get install -y asciidoctor
- name: Vale Style Check
uses: errata-ai/vale-action@reviewdog
env:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
with:
fail_on_error: false
reporter: github-pr-check
filter_mode: added
files: latest/ug
continue-on-error: true
- name: Enforce AWS Brand
uses: errata-ai/vale-action@reviewdog
env:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
with:
fail_on_error: true
reporter: github-pr-check
filter_mode: added
files: latest/ug
vale_flags: "--config brand.vale.ini"
continue-on-error: true