Skip to content

Commit 0af0cf2

Browse files
authored
Action to check links: ignore domains that are known to return 403 (#230)
1 parent 46ce8ab commit 0af0cf2

File tree

3 files changed

+14
-4
lines changed

3 files changed

+14
-4
lines changed

.github/workflows/check-links.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
name: Check links
2-
on: [push, pull_request]
2+
on:
3+
schedule:
4+
- cron: '0 0 * * SUN'
35
jobs:
46
check_links:
57
runs-on: ubuntu-latest

.markdown-link-check-config.json

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"aliveStatusCodes": [429, 200],
3+
"ignorePatterns": [
4+
{
5+
"pattern": "^https://openfoamwiki.net/"
6+
},
7+
{
8+
"pattern": "^https://doi.org/"
9+
}
10+
]
11+
}

.markdown-lint-check-config.json

Lines changed: 0 additions & 3 deletions
This file was deleted.

0 commit comments

Comments
 (0)