mirror of
https://github.com/alibaba/open-code-review.git
synced 2026-08-21 06:34:29 +00:00
Replace the plain-text badge line in GitHub review and summary comments with a single static shields.io badge in the format img.shields.io/badge/<category>-<severity>-<color>, with the color keyed off severity (low green, medium orange, high red, critical darkred). The image renders only when both fields are known enum members; missing or unknown metadata falls back to the existing plain-text badge so arbitrary model output is never hotlinked into an image URL. The image alt text keeps the plain-text badge content for screen readers and image-load failures, the hidden ocr-id marker stays first, and the CLI's buildBadge output is unchanged. |
||
|---|---|---|
| .. | ||
| github-actions | ||
| publish | ||
| add-license.sh | ||
| install.js | ||
| platform.js | ||
| update.js | ||
| verify-action-pins.sh | ||
| verify-english-only.go | ||
| verify-license.sh | ||