Move to lychee for checking links

- exclude fossa links

Fixes: #308

Signed-off-by: Daniel Holbach <daniel@weave.works>
This commit is contained in:
Daniel Holbach
2022-10-26 09:42:44 +02:00
parent 4d7ba069d3
commit 53e17ec12a
3 changed files with 14 additions and 10 deletions

View File

@@ -66,12 +66,12 @@ jobs:
steps:
- uses: actions/checkout@v3
- name: Link Checker
id: lc
uses: peter-evans/link-checker@v1
uses: lycheeverse/lychee-action@4a5af7cd2958a2282cefbd9c10f63bdb89982d76
env:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
with:
args: -r *.md *.yaml */*/*.go -x .cluster.local
- name: Fail if there were link errors
run: exit ${{ steps.lc.outputs.exit_code }}
args: --verbose --no-progress '*.md' '*.yaml' '*/*/*.go' --exclude-link-local
fail: true
# This should not be made a mandatory test
# It is only used to make us aware of any potential security failure, that

View File

@@ -41,12 +41,12 @@ jobs:
steps:
- uses: actions/checkout@v3
- name: Link Checker
id: lc
uses: peter-evans/link-checker@v1
uses: lycheeverse/lychee-action@4a5af7cd2958a2282cefbd9c10f63bdb89982d76
env:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
with:
args: -r *.md *.yaml */*/*.go -x .cluster.local
- name: Fail if there were link errors
run: exit ${{ steps.lc.outputs.exit_code }}
args: --verbose --no-progress '*.md' '*.yaml' '*/*/*.go' --exclude-link-local
fail: true
vuln-scan:
name: Build image and scan it against known vulnerabilities

4
.lycheeignore Normal file
View File

@@ -0,0 +1,4 @@
app.fossa.com
cluster.local
hooks.slack.com
localhost