-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Check all Markdowns for broken external links
- Loading branch information
1 parent
199cd21
commit 1bcf673
Showing
3 changed files
with
32 additions
and
6 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,10 @@ | ||
{ | ||
"ignorePatterns": [ | ||
{ | ||
"pattern": "^/components/" | ||
}, | ||
{ | ||
"pattern": "^/docs/" | ||
} | ||
] | ||
} |
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,20 +1,21 @@ | ||
name: Broken links check | ||
name: Broken Links Check | ||
|
||
on: | ||
schedule: | ||
- cron: '0 0 * * 0' # weekly | ||
- cron: '0 6 * * *' # daily at 6:00 UTC (7:00 CET, 8:00 CEST) | ||
|
||
jobs: | ||
broken_link_check: | ||
runs-on: ubuntu-latest | ||
name: Check for broken links | ||
runs-on: ubuntu-20.04 | ||
name: Check react-ui.io for broken links | ||
steps: | ||
- name: Check for broken links | ||
id: link-report | ||
uses: celinekurpershoek/link-checker@v1 | ||
uses: celinekurpershoek/link-checker@v1.0.2 | ||
with: | ||
url: 'https://react-ui.io' | ||
honorRobotExclusions: false | ||
ignorePatterns: "www.racom.eu" | ||
ignorePatterns: "*.racom.eu*" | ||
|
||
- name: Get the result | ||
run: echo "${{steps.link-report.outputs.result}}" |
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,15 @@ | ||
name: External Links Check | ||
|
||
on: | ||
pull_request: | ||
|
||
jobs: | ||
broken_link_check: | ||
name: Markdown link check | ||
runs-on: ubuntu-20.04 | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: gaurav-nelson/github-action-markdown-link-check@v1 | ||
with: | ||
config-file: '.github/markdown-link-check.json' | ||
use-verbose-mode: 'yes' |