TEMP verify profile health block

Closed
SV
4mo ago
+215-0

Temporary PR to verify branch protection blocks a failing profile-health-check. Will be closed after verification.


[!NOTE]
Low Risk
CI and a temporary broken markdown fence in the profile README; no production or auth paths affected, and the README break is meant to be reverted after verification.

Overview
Introduces automated profile validation for the org GitHub profile: a new profile-health-check GitHub Actions workflow (Python 3.12) runs scripts/profile_health_check.py on PRs to main, path-filtered pushes, and manual dispatch when profile/**, the script, or the workflow changes.

The new script checks profile/README.md (size, required h1/a/img, links, balanced markdown fences/emphasis, local images) and validates logo.png (512×512, size cap) and hero.png (min width, aspect ratio, size cap), including live HTTP checks for outbound links.

This PR also adds an intentional defect to profile/README.md—an unclosed ``` fenced block—so the health check fails and branch protection can be verified before the change is reverted.

Reviewed by Cursor Bugbot for commit 30e49c1ba35b95ea39170e01c3de3173512b1e3d. Bugbot is set up for automated code reviews on this repo. Configure here.


Summary by cubic

Adds a CI “profile health” check for the org profile and intentionally introduces a README error to confirm branch protection blocks failing PRs.

  • New Features
    • Adds profile-health-check GitHub Actions workflow for PRs to main, filtered to profile-related paths; uses actions/checkout@v4, actions/setup-python@v5, and runs scripts/profile_health_check.py.
    • New Python validator checks profile/README.md (size, required tags h1/a/img, link reachability, markdown balance) and images: logo.png (PNG, 512x512, <500KB) and hero.png (min 1000px width, aspect ratio ≥1.3, <2MB).
    • Introduces an unclosed code fence in profile/README.md to force a failure and verify branch protection.