Skip to content

Commit 6d420cc

Browse files
committed
split vale checks
1 parent 0c9ca42 commit 6d420cc

File tree

2 files changed

+29
-3
lines changed

2 files changed

+29
-3
lines changed

.github/workflows/vale.yml

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,25 @@ jobs:
1515
- name: Install Asciidoctor
1616
run: sudo apt-get install -y asciidoctor
1717

18-
- name: Run Vale
18+
- name: Vale Style Check
1919
uses: errata-ai/vale-action@reviewdog
2020
env:
2121
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
2222
with:
23-
fail_on_error: true
23+
fail_on_error: false
2424
reporter: github-pr-check
2525
filter_mode: added
2626
files: latest/ug
27-
continue-on-error: false
27+
continue-on-error: true
28+
29+
- name: Enforce AWS Brand
30+
uses: errata-ai/vale-action@reviewdog
31+
env:
32+
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
33+
with:
34+
fail_on_error: false
35+
reporter: github-pr-check
36+
filter_mode: added
37+
files: latest/ug
38+
vale_flags: "--config brand.vale.ini"
39+
continue-on-error: true

brand.vale.ini

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
StylesPath = vale/styles
2+
3+
MinAlertLevel = error
4+
5+
# Packages = RedHat, AsciiDoc
6+
7+
#Vocab = EksDocsVocab
8+
9+
# Ignore files in dirs starting with `.` to avoid raising errors for `.vale/fixtures/*/testinvalid.adoc` files
10+
[[!.]*.adoc]
11+
BasedOnStyles = EksDocs
12+
EksDocs.ExternalDomains = OFF
13+
14+

0 commit comments

Comments
 (0)