Skip to content

Commit

Permalink
fix: workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
swarna1101 committed Dec 18, 2024
1 parent a4d7795 commit 7b9572e
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions .github/workflows/lint-check-links.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,20 +34,22 @@ jobs:
run: npm run typecheck

# Run Link Checker using Lychee Action
- name: Check for Broken Links
- name: Check for Broken Links (Internal Only)
uses: lycheeverse/[email protected]
with:
# Specify files to scan for links
# Check only internal links
args: >
--accept 200,403
--no-progress
'**/*.md' '**/*.mdx' '**/*.html'
# Path to Lychee configuration file
--exclude-mail
--max-concurrency 20
--base . '**/*.md' '**/*.mdx' '**/*.html'
# Exclude external links entirely
exclude = ["https://", "http://"]
config-file: .github/config/lychee.toml
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

# Report Failure on Broken Links
- name: Report Failure on Broken Links
if: failure()
run: |
Expand Down

0 comments on commit 7b9572e

Please sign in to comment.