Skip to content

Commit

Permalink
add back linkspector and try again
Browse files Browse the repository at this point in the history
  • Loading branch information
jharrell committed Nov 13, 2024
1 parent f50cd00 commit 179cf2f
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 10 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/.linkspector.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
dirs:
- content
useGitIgnore: true
fileExtensions:
- ".mdx"
- ".md"
20 changes: 10 additions & 10 deletions .github/workflows/linkspector.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
name: Check MDX links

name: Linkspector
on: [pull_request]

jobs:
markdown-link-check:
check-links:
name: runner / linkspector
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: gaurav-nelson/github-action-markdown-link-check@v1
- name: Run linkspector
uses: umbrelladocs/action-linkspector@v1
with:
use-quiet-mode: "yes"
use-verbose-mode: "no"
folder-path: "content"
file-extension: ".mdx"
config-file: ".github/workflows/linkcheck_config.json"
github_token: ${{ secrets.github_token }}
reporter: github-pr-check
fail_on_error: true
filter_mode: nofilter
config_file: .github/workflows/.linkspector.yml
16 changes: 16 additions & 0 deletions .github/workflows/markdown-link-check.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: Check MDX links

on: [pull_request]

jobs:
markdown-link-check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: gaurav-nelson/github-action-markdown-link-check@v1
with:
use-quiet-mode: "yes"
use-verbose-mode: "no"
folder-path: "content"
file-extension: ".mdx"
config-file: ".github/workflows/linkcheck_config.json"

0 comments on commit 179cf2f

Please sign in to comment.