From c65ea74a95f14dd6ee60aea160aad2705652480a Mon Sep 17 00:00:00 2001 From: sekyondaMeta <127536312+sekyondaMeta@users.noreply.github.com> Date: Tue, 4 Nov 2025 14:40:59 -0800 Subject: [PATCH 1/4] Update MonthlyLinkCheck.yml Resolving issue #3633 Workflow failing due to updates in lychee handling of relative links --- .github/workflows/MonthlyLinkCheck.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/MonthlyLinkCheck.yml b/.github/workflows/MonthlyLinkCheck.yml index aaddcda926f..33568d2475c 100644 --- a/.github/workflows/MonthlyLinkCheck.yml +++ b/.github/workflows/MonthlyLinkCheck.yml @@ -22,7 +22,7 @@ jobs: id: lychee uses: lycheeverse/lychee-action@v2 with: - args: --accept=200,403,429 --base . --verbose --no-progress './**/*.md' './**/*.html' './**/*.rst' + args: --accept=200,403,429 --base $GITHUB_WORKSPACE --verbose --no-progress './**/*.md' './**/*.html' './**/*.rst' token: ${{ secrets.CUSTOM_TOKEN }} fail: true From 2009e18e1419e8b48d73231adf0bb717b1c31c6c Mon Sep 17 00:00:00 2001 From: sekyondaMeta <127536312+sekyondaMeta@users.noreply.github.com> Date: Wed, 5 Nov 2025 10:10:32 -0800 Subject: [PATCH 2/4] Update MonthlyLinkCheck.yml --- .github/workflows/MonthlyLinkCheck.yml | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/.github/workflows/MonthlyLinkCheck.yml b/.github/workflows/MonthlyLinkCheck.yml index 33568d2475c..a4c372b1c75 100644 --- a/.github/workflows/MonthlyLinkCheck.yml +++ b/.github/workflows/MonthlyLinkCheck.yml @@ -18,13 +18,27 @@ jobs: - uses: actions/checkout@v4 with: fetch-depth: 1 + - name: Check Links id: lychee uses: lycheeverse/lychee-action@v2 with: - args: --accept=200,403,429 --base $GITHUB_WORKSPACE --verbose --no-progress './**/*.md' './**/*.html' './**/*.rst' + args: --accept=200,202,403,429 --base $GITHUB_WORKSPACE --no-progress './**/*.md' './**/*.html' './**/*.rst' token: ${{ secrets.CUSTOM_TOKEN }} + jobSummary: false # Disable default summary fail: true + + - name: Create Filtered Summary + if: always() + run: | + if [ -f ./lychee/out.md ]; then + echo "## Link Check Results (Errors Only)" >> $GITHUB_STEP_SUMMARY + # Extract only error sections, skip redirects + grep -A 10000 "^## Errors per input" ./lychee/out.md | \ + grep -B 10000 "^## Redirects per input" | \ + head -n -1 >> $GITHUB_STEP_SUMMARY || \ + grep -A 10000 "^## Errors per input" ./lychee/out.md >> $GITHUB_STEP_SUMMARY + fi - name: Create Issue From File if: failure() && (github.event_name == 'schedule' || github.event_name == 'workflow_dispatch') From 6bebebdb7a70cf69933bb2e4a1893d9756d8119e Mon Sep 17 00:00:00 2001 From: sekyondaMeta <127536312+sekyondaMeta@users.noreply.github.com> Date: Wed, 5 Nov 2025 10:13:28 -0800 Subject: [PATCH 3/4] Update MonthlyLinkCheck.yml --- .github/workflows/MonthlyLinkCheck.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/MonthlyLinkCheck.yml b/.github/workflows/MonthlyLinkCheck.yml index a4c372b1c75..d87ca66dcdf 100644 --- a/.github/workflows/MonthlyLinkCheck.yml +++ b/.github/workflows/MonthlyLinkCheck.yml @@ -27,7 +27,7 @@ jobs: token: ${{ secrets.CUSTOM_TOKEN }} jobSummary: false # Disable default summary fail: true - + - name: Create Filtered Summary if: always() run: | @@ -39,7 +39,7 @@ jobs: head -n -1 >> $GITHUB_STEP_SUMMARY || \ grep -A 10000 "^## Errors per input" ./lychee/out.md >> $GITHUB_STEP_SUMMARY fi - + - name: Create Issue From File if: failure() && (github.event_name == 'schedule' || github.event_name == 'workflow_dispatch') uses: peter-evans/create-issue-from-file@v5 From 860c6414a8310caa915a77cf2ee6986af29bfd28 Mon Sep 17 00:00:00 2001 From: sekyonda <127536312+sekyondaMeta@users.noreply.github.com> Date: Wed, 5 Nov 2025 10:26:17 -0800 Subject: [PATCH 4/4] Update MonthlyLinkCheck.yml --- .github/workflows/MonthlyLinkCheck.yml | 3 --- 1 file changed, 3 deletions(-) diff --git a/.github/workflows/MonthlyLinkCheck.yml b/.github/workflows/MonthlyLinkCheck.yml index d87ca66dcdf..fb9283862ad 100644 --- a/.github/workflows/MonthlyLinkCheck.yml +++ b/.github/workflows/MonthlyLinkCheck.yml @@ -18,7 +18,6 @@ jobs: - uses: actions/checkout@v4 with: fetch-depth: 1 - - name: Check Links id: lychee uses: lycheeverse/lychee-action@v2 @@ -27,7 +26,6 @@ jobs: token: ${{ secrets.CUSTOM_TOKEN }} jobSummary: false # Disable default summary fail: true - - name: Create Filtered Summary if: always() run: | @@ -39,7 +37,6 @@ jobs: head -n -1 >> $GITHUB_STEP_SUMMARY || \ grep -A 10000 "^## Errors per input" ./lychee/out.md >> $GITHUB_STEP_SUMMARY fi - - name: Create Issue From File if: failure() && (github.event_name == 'schedule' || github.event_name == 'workflow_dispatch') uses: peter-evans/create-issue-from-file@v5