We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fcd546d commit f4e281cCopy full SHA for f4e281c
.github/workflows/check-links.yml
@@ -0,0 +1,25 @@
1
+name: Check Markdown links
2
+
3
+#on:
4
+# push:
5
+# branches:
6
+# - master
7
+# pull_request:
8
+# branches: [master]
9
+on: push
10
+jobs:
11
+ markdown-link-check:
12
+ runs-on: ubuntu-latest
13
+ steps:
14
+ - uses: actions/checkout@v4
15
+ - uses: technote-space/get-diff-action@v6
16
+ with:
17
+ PATTERNS: |
18
+ **/**.md
19
20
+ - uses: gaurav-nelson/github-action-markdown-link-check@v1
21
22
+ use-quiet-mode: 'yes'
23
+ use-verbose-mode: 'yes'
24
+ config-file: '.md_check_config.json'
25
.md_check_config.json
@@ -0,0 +1,14 @@
+{
+ "ignorePatterns": [
+ {
+ "pattern": "^http://localhost"
+ }
+ ],
+ "replacementPatterns": [
+ "pattern": "^/LICENSE",
+ "replacement": "{{BASEURL}}/LICENSE"
+ "timeout": "20s"
0 commit comments