File tree 2 files changed +7
-8
lines changed
2 files changed +7
-8
lines changed Original file line number Diff line number Diff line change 16
16
17
17
steps :
18
18
- uses : actions/checkout@v2
19
- - name : Checkout OpenSearch-Dashboards
20
- uses : actions/checkout@v2
21
- with :
22
- repository : opensearch-project/OpenSearch-Dashboards
23
- ref : main
24
- path : OpenSearch-Dashboards
25
19
- name : Load Excludes
26
20
run : |
27
- LYCHEE_EXCLUDE=$(sed -e :a -e 'N;s/\n/ --exclude /;ta' OpenSearch-Dashboards/.lycheeexclude )
21
+ LYCHEE_EXCLUDE=$(grep -v '^#\|^$' .lycheeexclude | sed -e :a -e 'N;s/\n/ --exclude /;ta')
28
22
echo "LYCHEE_EXCLUDE=$LYCHEE_EXCLUDE" >> $GITHUB_ENV
29
23
- name : Lychee Link Checker
30
24
id : lychee
34
28
env :
35
29
GITHUB_TOKEN : ${{secrets.GITHUB_TOKEN}}
36
30
- name : Fail if there were link errors
37
- run : exit ${{ steps.lychee.outputs.exit_code }}
31
+ run : exit ${{ steps.lychee.outputs.exit_code }}
Original file line number Diff line number Diff line change
1
+ # exclude regexes
2
+ https?://.+\$$
3
+
4
+ https://bedrock-runtime.*.amazonaws.com/*
5
+ https://link
You can’t perform that action at this time.
0 commit comments