Test profile health protection block
Temporary PR to verify branch protection blocks a broken profile health check.
[!NOTE]
Low Risk
Adds CI and a validation script only; the broken profile link is deliberate test data and should not be merged to main.
Overview
Adds CI gating for the org profile: a new profile-health-check GitHub Actions workflow (Python 3.12) runs scripts/profile_health_check.py on PRs to main, pushes, and manual dispatch when profile/**, the script, or the workflow file change.
The new script validates profile/README.md (required HTML tags, link/image presence, markdown balance, local image paths) and live HTTP checks on outbound links, plus PNG rules for logo.png (512×512, size cap) and hero.png (min width, aspect ratio, size cap).
Intentionally for testing: profile/README.md changes the main link from https://www.ara.so to https://example.invalid/ara-health-block-test, which should fail the link check and block merge under branch protection.
Reviewed by Cursor Bugbot for commit ad4b0c2a8855f96d0f37a73b75e961924edc64a9. Bugbot is set up for automated code reviews on this repo. Configure here.
Summary by cubic
Add a profile-health-check workflow and validator to gate merges with a required status; this PR intentionally breaks the profile to confirm branch protection blocks it.
-
New Features
- Adds
.github/workflows/profile-health-check.ymlto run on PRs tomain, pushes, and manual dispatch; usesactions/checkout@v4andactions/setup-python@v5(Python 3.12) to executescripts/profile_health_check.py. - Introduces a validator that checks:
profile/README.mdfor required HTML tags (h1,a,img), reachable links, local image references, and balanced Markdown.profile/logo.pngis PNG, 512x512, ≤ 500KB;profile/hero.pngis PNG, width ≥ 1000px, aspect ratio ≥ 1.3, ≤ 2MB.
- Updates
profile/README.mdlink tohttps://example.invalid/ara-health-block-testto force a failing status for testing.
- Adds
-
Migration
- Require the
profile-health-checkstatus check in branch protection so merges are blocked when the profile is unhealthy.
- Require the