-
Notifications
You must be signed in to change notification settings - Fork 285
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Checks for dead links in Markdown files - First run will check all files and then we will have a list of dead links - Then we can set it up to only run on files added in the PR - Fix links
- Loading branch information
Showing
3 changed files
with
46 additions
and
1 deletion.
There are no files selected for viewing
This file contains 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,14 @@ | ||
name: 🏀 Markdown Link Check | ||
|
||
on: [pull_request] | ||
|
||
jobs: | ||
markdown-link-check: | ||
name: 🧹 Check Links | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@master | ||
- uses: gaurav-nelson/github-action-markdown-link-check@v1 | ||
with: | ||
use-quiet-mode: 'yes' | ||
use-verbose-mode: 'no' |
This file contains 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
This file contains 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,31 @@ | ||
{ | ||
"ignorePatterns": [ | ||
{ | ||
"pattern": "^http:\/\/127.0.0.1.*" | ||
}, | ||
{ | ||
"pattern": "^http:\/\/localhost.*" | ||
}, | ||
{ | ||
"pattern": "^http:\/\/yourdomain.*" | ||
}, | ||
{ | ||
"pattern": "http:\\/\\/{hostname}.*" | ||
}, | ||
{ | ||
"pattern": "https:\/\/cdn.lucee.org/{version-number}.*" | ||
}, | ||
{ | ||
"pattern": "http:\/\/\\$host:\\$port" | ||
}, | ||
{ | ||
"pattern": "http:\/\/mysite.com.*" | ||
}, | ||
{ | ||
"pattern": "http:\/\/192.168.*" | ||
}, | ||
{ | ||
"pattern": "http:\/\/www.servername.com.*" | ||
} | ||
] | ||
} |