Skip to content

Commit

Permalink
docs: use link-inspector
Browse files Browse the repository at this point in the history
  • Loading branch information
xuan-cao-swi committed Jan 7, 2025
1 parent 035c32a commit 1fb2f27
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 15 deletions.
13 changes: 8 additions & 5 deletions .github/workflows/ci-markdown-link.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,19 @@ name: Markdown Link Check

on:
pull_request:
paths:
- '**/*.md'

jobs:
markdown-link-check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- name: "Markdown Link Check"
uses: gaurav-nelson/github-action-markdown-link-check@v1
# equivalent cli: linkspector check
- name: Run linkspector
uses: umbrelladocs/action-linkspector@v1
with:
config-file: '.markdown-link-check.json'
use-quiet-mode: 'yes'
use-verbose-mode: 'yes'
github_token: ${{ secrets.GITHUB_TOKEN }}
reporter: github-pr-review
fail_on_error: true
10 changes: 0 additions & 10 deletions .markdown-link-check.json

This file was deleted.

0 comments on commit 1fb2f27

Please sign in to comment.