From 7a4f4188bf9164a38d0ebbcf1d6338d74a76bafb Mon Sep 17 00:00:00 2001 From: rahulpinto19 Date: Wed, 18 Feb 2026 10:23:30 +0000 Subject: [PATCH] rephrased --- .github/workflows/link_checker_report.yaml | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/.github/workflows/link_checker_report.yaml b/.github/workflows/link_checker_report.yaml index f2eba3634a1..aa56359a581 100644 --- a/.github/workflows/link_checker_report.yaml +++ b/.github/workflows/link_checker_report.yaml @@ -29,12 +29,21 @@ jobs: id: lychee uses: lycheeverse/lychee-action@v2 with: + args: --verbose --no-progress './**/*.md' --output lychee-report.md fail: false + - name: Prepare Report + if: steps.lychee.outputs.exit_code != 0 + run: | + echo "## Link Resolution Note" > full-report.md + echo "Local links and directory changes work differently on GitHub than on the docsite.You must ensure fixes pass the **GitHub check** and also work with **\`hugo server\`**." >> full-report.md + echo "See [Link Checking and Fixing with Lychee](https://github.com/googleapis/genai-toolbox/blob/main/DEVELOPER.md#link-checking-and-fixing-with-lychee) for more details." >> full-report.md + echo "" >> full-report.md + sed -E '/(Redirect|Redirects per input)/d' lychee-report.md >> full-report.md - name: Create Issue From File if: steps.lychee.outputs.exit_code != 0 uses: peter-evans/create-issue-from-file@v5 with: title: Link Checker Report - content-filepath: ./lychee/out.md + content-filepath: full-report.md labels: report, automated issue,link checker \ No newline at end of file