diff --git a/.coderabbit.yaml b/.coderabbit.yaml index e18166a115..039871fc3e 100644 --- a/.coderabbit.yaml +++ b/.coderabbit.yaml @@ -6,7 +6,7 @@ reviews: collapse_walkthrough: false profile: "chill" high_level_summary: true - request_changes_workflow: true + request_changes_workflow: false poem: false in_progress_fortune: false sequence_diagrams: false diff --git a/.github/workflows/lychee.yml b/.github/workflows/lychee.yml index dc32409feb..96a6779b7f 100644 --- a/.github/workflows/lychee.yml +++ b/.github/workflows/lychee.yml @@ -159,16 +159,16 @@ jobs: echo "" >> lychee/formatted.md # Hard truncate as a final guardrail for sticky PR comments - python - <<'PY' + python -c " from pathlib import Path - p = Path("lychee/formatted.md") + p = Path('lychee/formatted.md') if p.exists(): max_chars = 60000 - text = p.read_text(encoding="utf-8") + text = p.read_text(encoding='utf-8') if len(text) > max_chars: - note = "\n\n_Comment truncated to avoid GitHub body limit. Download the artifact for full details._\n" - p.write_text(text[: max_chars - len(note)] + note, encoding="utf-8") - PY + note = '\n\n_Comment truncated to avoid GitHub body limit. Download the artifact for full details._\n' + p.write_text(text[:max_chars - len(note)] + note, encoding='utf-8') + " else # Ensure sticky PR comment always has content even if Lychee output is missing cat > lychee/formatted.md <<'EOF'