From 7b9572e242419fffc107b2b757c5645301508a4c Mon Sep 17 00:00:00 2001 From: swarnabhasinha Date: Wed, 18 Dec 2024 20:01:32 +0530 Subject: [PATCH] fix: workflow --- .github/workflows/lint-check-links.yml | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/.github/workflows/lint-check-links.yml b/.github/workflows/lint-check-links.yml index 4771cb16..22433e7b 100644 --- a/.github/workflows/lint-check-links.yml +++ b/.github/workflows/lint-check-links.yml @@ -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/lychee-action@v1.8.0 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: |