From ed5c1862544ba0105f2fc2dd0ec26bb21dcd825b Mon Sep 17 00:00:00 2001 From: rahulpinto19 Date: Wed, 18 Feb 2026 19:44:32 +0000 Subject: [PATCH] tests --- .github/workflows/link_checker_report.yaml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/.github/workflows/link_checker_report.yaml b/.github/workflows/link_checker_report.yaml index 2bafd5068d8..f4980fce030 100644 --- a/.github/workflows/link_checker_report.yaml +++ b/.github/workflows/link_checker_report.yaml @@ -23,7 +23,10 @@ jobs: permissions: issues: write steps: - - uses: actions/checkout@v4 + - name: Checkout Repository + uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6 + with: + fetch-depth: 0 - name: Link Checker id: lychee-check @@ -64,5 +67,10 @@ jobs: - name: Display Failure Report # Run this ONLY if the link checker failed + if: steps.lychee-check.outcome == 'failure' run: | + # We can now simply output the prepared file to the job summary cat full-report.md >> $GITHUB_STEP_SUMMARY + + # Fail the job + exit 1