File tree Expand file tree Collapse file tree 4 files changed +51
-1
lines changed
.vale-styles/DeveloperHub/tests Expand file tree Collapse file tree 4 files changed +51
-1
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+ - uses : actions/checkout@v3
11+ - uses : errata-ai/vale-action@reviewdog
12+ with :
13+ filter_mode : diff_context
14+ vale_flags : " --no-exit --minAlertLevel=error"
15+ reporter : github-pr-review
16+ fail_on_error : true
17+ env :
18+ # Required, set by GitHub actions automatically:
19+ # https://docs.github.com/en/actions/security-guides/automatic-token-authentication#about-the-github_token-secret
20+ GITHUB_TOKEN : ${{ secrets.RHDH_BOT_TOKEN }}
21+ 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/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/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
You can’t perform that action at this time.
0 commit comments