-
Notifications
You must be signed in to change notification settings - Fork 80
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Fix broken link * Temp disable custom Markdown link checker config to troubleshoot false negatives * Fix 2 broken links * Specify MLC v@1.0.13 since the current v1 has many relative link failures per: gaurav-nelson/github-action-markdown-link-check#127 * Wrap localhost link in ticks * Allow 429s as alive status code * Intentionally introduce broken link * Add missing https to link * Update mlc config * Revert "Intentionally introduce broken link" This reverts commit 6f9d583. * Go back to checking only modified files instead of the whole project * Add scheduled link checker to prevent link rot * Add scheduled link checker to prevent link rot
- Loading branch information
Showing
8 changed files
with
41 additions
and
16 deletions.
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,18 @@ | ||
name: Check Markdown links | ||
|
||
on: | ||
schedule: | ||
- cron: "31 23 * * 4" | ||
|
||
jobs: | ||
markdown-link-check: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@master | ||
- uses: gaurav-nelson/github-action-markdown-link-check@1.0.13 | ||
with: | ||
use-quiet-mode: "yes" | ||
use-verbose-mode: "yes" | ||
base-branch: "main" | ||
check-modified-files-only: "no" | ||
config-file: ".mlc_config.json" |
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 |
---|---|---|
@@ -1,13 +1,18 @@ | ||
{ | ||
"ignorePatterns": [ | ||
{ | ||
"pattern": "^http://localhost:" | ||
}, | ||
"pattern": "^https*://127.0.0.1" | ||
}, | ||
{ | ||
"pattern": "^http://127.0.0.1:" | ||
"pattern": "^http://localhost:" | ||
}, | ||
{ | ||
"pattern": "^https://www.baeldung.com/" // when automated tests hit this, site returns a CAPTCHA | ||
"pattern": "https://gitlab.com/-/*" | ||
} | ||
] | ||
], | ||
"timeout": "20s", | ||
"retryOn429": true, | ||
"retryCount": 2, | ||
"fallbackRetryDelay": "30s", | ||
"aliveStatusCodes": [200, 206, 301, 400, 429] | ||
} |
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
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
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