Skip to content

Commit

Permalink
experiment with a new link checker
Browse files Browse the repository at this point in the history
Signed-off-by: Marc Schöchlin <[email protected]>
  • Loading branch information
scoopex committed Jun 16, 2024
1 parent 1f38f77 commit 5a3b291
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 14 deletions.
16 changes: 9 additions & 7 deletions .github/workflows/link-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,15 @@ on:
push:

jobs:
markdown-link-check:
name: Markdown Link Check
check-links:
name: runner / linkspector
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- uses: gaurav-nelson/github-action-markdown-link-check@v1
- uses: actions/checkout@v4
- name: Run linkspector
uses: umbrelladocs/action-linkspector@v1
with:
config-file: .github/workflows/markdown-link-check.json
use-quiet-mode: 'no'
use-verbose-mode: 'yes'
config-file: .github/workflows/linkspector.yml
github_token: ${{ secrets.github_token }}
reporter: github-pr-review
fail_on_error: true
2 changes: 2 additions & 0 deletions .github/workflows/linkspector.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
ignorePatterns:
- pattern: "^(?!http(s)?:\/\/.*)|^(http(s)?:\/\/.*((osism.xyz)|(in-a-box.cloud)))(:?[0-9]+)?(\/.*)?$"
7 changes: 0 additions & 7 deletions .github/workflows/markdown-link-check.json

This file was deleted.

0 comments on commit 5a3b291

Please sign in to comment.