File tree Expand file tree Collapse file tree 8 files changed +52
-5
lines changed
.vale-styles/DeveloperHub/tests Expand file tree Collapse file tree 8 files changed +52
-5
lines changed Original file line number Diff line number Diff line change 1+ ---
2+ name : Verify style guide compliance on pull request
3+ on : [pull_request]
4+
5+ jobs :
6+ vale :
7+ name : Linting with Vale
8+ runs-on : ubuntu-latest
9+ steps :
10+ - name : Checkout
11+ uses : actions/checkout@v4
12+ - name : Install Asciidoctor
13+ run : sudo apt-get install -y asciidoctor
14+ - name : Run Vale on new and modified content
15+ 16+ with :
17+ files : assemblies
18+ vale_flags : " --minAlertLevel=warning"
19+ reporter : github-pr-review
20+ env :
21+ GITHUB_TOKEN : ${{ secrets.RHDH_BOT_TOKEN }}
22+ REVIEWDOG_GITHUB_API_TOKEN : ${{ secrets.RHDH_BOT_TOKEN }}
Original file line number Diff line number Diff line change 22titles /* /build
33index.html
44titles-generated /
5- .vale.ini
65.vale-styles /RedHat
76.vscode
87.cache /
Original file line number Diff line number Diff line change 1+ ; .vale.ini
2+ ; Specifies Vale configuration
3+ ; See: https://redhat-documentation.github.io/vale-at-red-hat/docs/main/user-guide/installing-vale-cli/
4+ ;
5+ ; Download and search Vale styles in this directory:
6+ StylesPath = ../..
7+ ; Minimum alert level to display:
8+ MinAlertLevel = suggestion
9+ ; Display alerts on AsciiDoc files:
10+ [*.adoc]
11+ ; Apply these styles:
12+ BasedOnStyles = DeveloperHub
Original file line number Diff line number Diff line change 1+ # .vale.ini
2+ # Specifies Vale configuration
3+ # See: https://redhat-documentation.github.io/vale-at-red-hat/docs/main/user-guide/installing-vale-cli/
4+ #
5+
6+ # Download and search Vale styles in this directory:
7+ StylesPath = " .vale-styles"
8+
9+ # Minimum alert level to display:
10+ MinAlertLevel = suggestion
11+
12+ # Styles to download:
13+ Packages = RedHat
14+
15+ # Display alerts on AsciiDoc files:
16+ [*.adoc]
17+ # Apply these styles:
18+ BasedOnStyles = RedHat,DeveloperHub
Load Diff This file was deleted.
Load Diff This file was deleted.
Load Diff This file was deleted.
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments