File tree 3 files changed +32
-11
lines changed 3 files changed +32
-11
lines changed Original file line number Diff line number Diff line change 1
- # from: https://github.com/marketplace/actions/link-checker
2
- # link checker used is 'liche ': https://github.com/raviqqe/liche
1
+ # from: https://github.com/lycheeverse/lychee-action
2
+ # link checker used is 'lychee ': https://github.com/lycheeverse/lychee
3
3
4
- name : Link Check on Patterns and README
4
+ name : Link Check
5
5
6
6
on :
7
7
push :
@@ -16,11 +16,20 @@ jobs:
16
16
linkChecker :
17
17
runs-on : ubuntu-latest
18
18
steps :
19
- - uses : actions/checkout@v2
20
- - name : Link Checker
21
- id : lc
22
- uses : peter-evans/link-checker@v1
23
- with :
24
- args : -v -d . -x "http://creativecommons.org/licenses|https://isc-inviter.herokuapp.com|https://github.com/rcs/rcs-viewer/pull/81|fearlesschangepatterns.com|https://ulir.ul.ie/bitstream/handle/10344/4443/Stol_2014_inner.pdf|https://docs.github.com/en/rest/metrics/statistics|https://docs.github.com/en/rest/search#search-repositories" README.md patterns/ book/ translation/ -r
25
- - name : Fail if there were link errors
26
- run : exit ${{ steps.lc.outputs.exit_code }}
19
+ - uses : actions/checkout@v3
20
+
21
+ - name : Restore lychee cache
22
+ uses : actions/cache@v3
23
+ with :
24
+ path : .lycheecache
25
+ key : cache-lychee-${{ github.sha }}
26
+ restore-keys : cache-lychee-
27
+
28
+ - name : Link Checker
29
+ uses : lycheeverse/lychee-action@v1.5.0
30
+ with :
31
+ args : --verbose --no-progress --cache --max-cache-age 1d README.md patterns/ book/ translation/
32
+ fail : true
33
+ jobSummary : true
34
+ env :
35
+ GITHUB_TOKEN : ${{secrets.GITHUB_TOKEN}}
Original file line number Diff line number Diff line change
1
+ # These links are ignored by our link checker https://github.com/lycheeverse/lychee
2
+ # The file allows you to list multiple regular expressions for exclusion (one pattern per line).
3
+ https://example.com/link/to/your/trusted/committer/documentation.md
4
+ https://github.com/rcs/rcs-viewer/pull/81
5
+ http://creativecommons.org/licenses
6
+ https://isc-inviter.herokuapp.com
7
+ fearlesschangepatterns.com
8
+ https://ulir.ul.ie/bitstream/handle/10344/4443/Stol_2014_inner.pdf
9
+ .*@andrew.clegg.*
Original file line number Diff line number Diff line change
1
+ [ ![ Check Links] ( https://github.com/InnerSourceCommons/InnerSourcePatterns/actions/workflows/link-checker.yml/badge.svg )] ( https://github.com/InnerSourceCommons/InnerSourcePatterns/actions/workflows/link-checker.yml )
2
+ [ ![ Pattern Syntax Validation] ( https://github.com/InnerSourceCommons/InnerSourcePatterns/actions/workflows/lint-patterns.yml/badge.svg )] ( https://github.com/InnerSourceCommons/InnerSourcePatterns/actions/workflows/lint-patterns.yml )
3
+
1
4
# InnerSource Patterns
2
5
3
6
<a href =" https://patterns.innersourcecommons.org " >
You can’t perform that action at this time.
0 commit comments