Commit f40cad5 1 parent 9bc28f6 commit f40cad5 Copy full SHA for f40cad5
File tree 2 files changed +33
-0
lines changed
2 files changed +33
-0
lines changed Original file line number Diff line number Diff line change 19
19
id : changes
20
20
run : |
21
21
echo "::set-output name=md::$(git diff --name-only --diff-filter=ACMRTUXB origin/${{ github.event.pull_request.base.ref }} ${{ github.event.pull_request.head.sha }} | grep .md$ | xargs)"
22
+
22
23
lint :
23
24
name : lint markdown files
24
25
runs-on : ubuntu-latest
31
32
uses : docker://avtodev/markdown-lint:v1
32
33
with :
33
34
args : ${{needs.changedfiles.outputs.md}}
35
+
36
+ check-links :
37
+ runs-on : ubuntu-latest
38
+ steps :
39
+ - name : Checkout Repo
40
+ uses : actions/checkout@v2
41
+ with :
42
+ fetch-depth : 0
43
+ - uses : gaurav-nelson/github-action-markdown-link-check@v1
44
+ with :
45
+ base-branch : ' main'
46
+ use-quiet-mode : ' yes'
47
+ use-verbose-mode : ' yes'
48
+ config-file : ' .markdown-link.json'
49
+ check-modified-files-only : ' yes'
50
+ folder-path : ' '
Original file line number Diff line number Diff line change
1
+ {
2
+ "ignorePatterns" : [
3
+ {
4
+ "pattern" : " ^http(s)?://localhost"
5
+ }
6
+ ],
7
+ "replacementPatterns" : [
8
+ {
9
+ "pattern" : " ^/registry" ,
10
+ "replacement" : " https://opentelemetry.io/registry"
11
+ }
12
+ ],
13
+ "retryOn429" : true ,
14
+ "retryCount" : 5 ,
15
+ "fallbackRetryDelay" : " 30s"
16
+ }
You can’t perform that action at this time.
0 commit comments