Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 26 additions & 0 deletions .github/workflows/html-link-checker.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: HTMLTEST

# Run this workflow every time a new commit pushed to your repository
on: pull_request

jobs:
# Set the job key. The key is displayed as the job name
# when a job name is not provided
htmltest:
# Name the Job
name: Run HTMLTEST link checker
# Set the type of machine to run on
runs-on: ubuntu-latest

steps:
# Checks out a copy of your repository on the ubuntu-latest machine
- name: Checkout code
uses: actions/checkout@master

# Runs the HTMLTEST action
- name: Run HTMLTEST
uses: wjdp/htmltest-action@master
with:
config: .htmltest.yml
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
25 changes: 0 additions & 25 deletions .github/workflows/mlc_config.json

This file was deleted.

22 changes: 0 additions & 22 deletions .github/workflows/pr-link-check.yml

This file was deleted.

17 changes: 0 additions & 17 deletions .github/workflows/sched-link-checker.yml

This file was deleted.

10 changes: 8 additions & 2 deletions .github/workflows/vale.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,20 @@ jobs:
uses: errata-ai/vale-action@master
with:
# Optional
styles:
styles:
https://github.com/errata-ai/Google/releases/latest/download/Google.zip

# Optional. Only lint modified files. Once we pay off tech debt, we'll switch the linting to onlyAnnotateModifiedLines afterwards
files: __onlyModified

# only annotate lines that have been modified within a PR
onlyAnnotateModifiedLines: true
env:
# Required
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}

- name: HTMLTEST
uses: wjdp/htmltest-action@master
with:
config: .htmltest.yml

13 changes: 13 additions & 0 deletions .htmltest.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
DirectoryPath: public/docs
CheckExternal: false
IgnoreAltMissing: true
CheckImages: false
CheckScripts: false
CheckMeta: false
CheckMetaRefresh: false
CheckLinks: false
EnforceHTML5: false
EnforceHTTPS: false
IgnoreDirectoryMissingTrailingSlash: false
IgnoreInternalEmptyHash: true
IgnoreEmptyHref: true