open-code-review/scripts/github-actions
超級の新人 0e5fab8152
feat(action): render category/severity badge as a shields.io image (#882) (#885)
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.
2026-08-13 16:18:00 +08:00
..
check-translation-sync.js chore: add SPDX license headers and automated verification (#740) 2026-08-05 21:26:27 +08:00
check-translation-sync.test.js chore(ci): fail CI when unapproved non-English text appears in source files (#876) 2026-08-13 14:43:55 +08:00
post-review-comments.js feat(action): render category/severity badge as a shields.io image (#882) (#885) 2026-08-13 16:18:00 +08:00
post-review-comments.test.js feat(action): render category/severity badge as a shields.io image (#882) (#885) 2026-08-13 16:18:00 +08:00