diff --git a/.github/workflows/link_checker_workflow.yaml b/.github/workflows/link_checker_workflow.yaml index fcdac67e67f..8969a255245 100644 --- a/.github/workflows/link_checker_workflow.yaml +++ b/.github/workflows/link_checker_workflow.yaml @@ -103,12 +103,19 @@ jobs: run: | # Create a new file 'full-report.md' echo "## Link Resolution Note" > full-report.md + + echo "" >> full-report.md echo "Local links and directory changes work differently on GitHub than on the docsite." >> full-report.md echo "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 + echo "---" >> full-report.md echo "### Broken Links Found" >> full-report.md + + echo "" >> full-report.md sed -E '/(Redirect|Redirects per input)/d' lychee-report.md >> full-report.md + echo "" >> full-report.md - name: Create PR Comment