Skip to content

Commit

Permalink
added a vale action to the workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
abhatt-rh committed Nov 22, 2023
1 parent a51744d commit 7f62154
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/htmltest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ jobs:
hugo --minify
- name: Run htmltest
# Don't fail the build on broken links
#continue-on-error: true
uses: wjdp/htmltest-action@master
with:
config: .htmltest.yml
18 changes: 18 additions & 0 deletions .github/workflows/vale-action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: Lint with Vale
on: [pull_request]

jobs:
vale:
name: Vale linter
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: errata-ai/vale-action@reviewdog
with:
filter_mode: added
vale_flags: "--no-exit --minAlertLevel=error --glob=*.adoc"
reporter: github-pr-review
fail_on_error: false
env:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
REVIEWDOG_GITHUB_API_TOKEN: ${{secrets.GITHUB_TOKEN}}

0 comments on commit 7f62154

Please sign in to comment.