generated from redhat-developer/new-project-template
-
Notifications
You must be signed in to change notification settings - Fork 57
RHIDP-4533 test documentation for style in GitHub pull requests #649
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 2 commits
Commits
Show all changes
20 commits
Select commit
Hold shift + click to select a range
4af9753
RHIDP-4533 test documentation for style in GitHub pull requests
themr0c 85518e5
Update .github/workflows/style-guide.yml
themr0c 2916184
Update .github/workflows/style-guide.yml
themr0c fd4c254
fix remove broken and unnecessary symlink
themr0c 62f38c9
fix: removed broken and unnecessary symlinks
themr0c 35ebe24
Update .github/workflows/style-guide.yml
themr0c 5a4146b
Update .github/workflows/style-guide.yml
themr0c 3fb8160
Update .github/workflows/style-guide.yml
themr0c 119f2b0
Delete .vale.ini.bak
themr0c 07452c4
Merge branch 'main' into check-for-style
themr0c 9e4a6ab
Update .github/workflows/style-guide.yml
themr0c e81a36f
Update .github/workflows/style-guide.yml
themr0c f034fd4
Apply suggestions from code review
themr0c 25ff13b
Update .github/workflows/style-guide.yml
themr0c df9b39a
Update .github/workflows/style-guide.yml
themr0c 51bf9de
Update .github/workflows/style-guide.yml
themr0c 8817573
Update .github/workflows/style-guide.yml
themr0c f100e78
Update .github/workflows/style-guide.yml
themr0c 8e7ea9e
Update .github/workflows/style-guide.yml
themr0c 23a5b3f
Update .github/workflows/style-guide.yml
themr0c File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,23 @@ | ||
| --- | ||
| name: Verify style guide compliance on pull request | ||
| on: [pull_request] | ||
|
|
||
| jobs: | ||
| vale: | ||
| name: Linting with Vale | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - uses: actions/checkout@v3 | ||
themr0c marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
themr0c marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| - name: Install Asciidoctor | ||
| run: sudo apt-get install -y asciidoctor | ||
| - uses: errata-ai/vale-action@reviewdog | ||
themr0c marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| with: | ||
| filter_mode: diff_context | ||
themr0c marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| vale_flags: "--no-exit --minAlertLevel=error" | ||
themr0c marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| reporter: github-pr-review | ||
| fail_on_error: true | ||
themr0c marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| env: | ||
| # Required, set by GitHub actions automatically: | ||
| # https://docs.github.com/en/actions/security-guides/automatic-token-authentication#about-the-github_token-secret | ||
| GITHUB_TOKEN: ${{ secrets.RHDH_BOT_TOKEN }} | ||
| REVIEWDOG_GITHUB_API_TOKEN: ${{ secrets.RHDH_BOT_TOKEN }} | ||
themr0c marked this conversation as resolved.
Show resolved
Hide resolved
themr0c marked this conversation as resolved.
Show resolved
Hide resolved
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -2,7 +2,6 @@ | |
| titles/*/build | ||
| index.html | ||
| titles-generated/ | ||
| .vale.ini | ||
| .vale-styles/RedHat | ||
| .vscode | ||
| .cache/ | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,12 @@ | ||
| ; .vale.ini | ||
| ; Specifies Vale configuration | ||
| ; See: https://redhat-documentation.github.io/vale-at-red-hat/docs/user-guide/installing-vale-cli/ | ||
themr0c marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| ; | ||
| ; Download and search Vale styles in this directory: | ||
| StylesPath = ../.. | ||
| ; Minimum alert level to display: | ||
| MinAlertLevel = suggestion | ||
| ; Display alerts on AsciiDoc files: | ||
| [*.adoc] | ||
| ; Apply these styles: | ||
| BasedOnStyles = DeveloperHub | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,18 @@ | ||
| # .vale.ini | ||
| # Specifies Vale configuration | ||
| # See: https://redhat-documentation.github.io/vale-at-red-hat/docs/user-guide/installing-vale-cli/ | ||
themr0c marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| # | ||
|
|
||
| # Download and search Vale styles in this directory: | ||
| StylesPath = ".vale-styles" | ||
|
|
||
| # Minimum alert level to display: | ||
| MinAlertLevel = suggestion | ||
|
|
||
| # Styles to download: | ||
| Packages = RedHat | ||
|
|
||
| # Display alerts on AsciiDoc files: | ||
| [*.adoc] | ||
| # Apply these styles: | ||
| BasedOnStyles = RedHat,DeveloperHub | ||
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.