Skip to content

Commit

Permalink
reverted the Vale min alert to error and added a job to test a html l…
Browse files Browse the repository at this point in the history
…ink cehcker
  • Loading branch information
abhatt-rh committed Nov 27, 2023
1 parent deb3656 commit a8e9ffa
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 37 deletions.
35 changes: 0 additions & 35 deletions .github/workflows/htmltest.yml

This file was deleted.

13 changes: 13 additions & 0 deletions .github/workflows/internal-links-action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
name: Check internal links
on: push
jobs:
check_html_links_job:
name: A job to test only internal links
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: check-html-links-action step
id: check-links
uses: modernweb-dev/check-html-links-action@v1
with:
doc-folder: 'public/'
2 changes: 1 addition & 1 deletion .github/workflows/preview-message.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@ jobs:
This is an automated message:
You can preview this docs PR at http://${{ github.event.number }}.docs-pr.validatedpatterns.io
Note that they get generated every five minutes, so please wait a bit.
Note that the preview gets generated every five minutes, so please wait a bit.
repo-token: ${{ secrets.DOCS_PR_TOKEN }}
2 changes: 1 addition & 1 deletion .github/workflows/vale-action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
- uses: errata-ai/vale-action@reviewdog
with:
filter_mode: added
vale_flags: "--no-exit --minAlertLevel=suggestion --glob=*.adoc"
vale_flags: "--no-exit --minAlertLevel=error --glob=*.adoc"
reporter: github-pr-review
fail_on_error: false
env:
Expand Down
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,5 @@ Gemfile.lock
.idea
.vale/styles/AsciiDoc
.vale/styles/RedHat
.htmltest.yml
.github/workflows/htmltest.yml

0 comments on commit a8e9ffa

Please sign in to comment.