File tree Expand file tree Collapse file tree 2 files changed +39
-0
lines changed Expand file tree Collapse file tree 2 files changed +39
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Style check
2+
3+ on :
4+ pull_request :
5+ workflow_dispatch :
6+
7+ jobs :
8+ style-job :
9+ runs-on : ubuntu-latest
10+ steps :
11+ - name : Check out
12+ uses : actions/checkout@v3
13+
14+ # For AsciiDoc users:
15+ - name : Install Asciidoctor
16+ run : sudo apt-get install -y asciidoctor
17+
18+ - name : Run Vale
19+ uses : errata-ai/vale-action@reviewdog
20+ env :
21+ GITHUB_TOKEN : ${{secrets.GITHUB_TOKEN}}
22+ with :
23+ fail_on_error : true
24+ reporter : github-pr-check
25+ filter_mode : added
26+ files : latest/ug
27+ continue-on-error : false
Original file line number Diff line number Diff line change 1+ StylesPath = vale/styles
2+
3+ Packages = RedHat, AsciiDoc
4+
5+ # Ignore files in dirs starting with `.` to avoid raising errors for `.vale/fixtures/*/testinvalid.adoc` files
6+ [[!.] *.adoc]
7+ BasedOnStyles = RedHat, AsciiDoc
8+ RedHat.GitLinks = OFF
9+ AsciiDoc.UnsetAttributes = OFF
10+ RedHat.CaseSensitiveTerms = suggestion
11+ RedHat.TermsErrors = warning
12+ RedHat.Spacing = warning
You can’t perform that action at this time.
0 commit comments