mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-04-19 22:09:37 +00:00
fix: remove Bug: prefix from PR badge, just show REPRODUCED directly
Badge now reads: QA Bot | REPRODUCED | Fix: APPROVED Not all issues are bugs — could be feature requests too. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
6
.github/workflows/pr-qa.yaml
vendored
6
.github/workflows/pr-qa.yaml
vendored
@@ -530,7 +530,7 @@ jobs:
|
||||
cat > /tmp/gen-badge-dual.sh <<'DUALBADGE'
|
||||
#!/bin/bash
|
||||
# Usage: gen-badge-dual.sh <bug_status> <bug_color> <fix_status> <fix_color> <output>
|
||||
BUG="Bug: $1" BUG_C="$2" FIX="Fix: $3" FIX_C="$4" OUT="$5"
|
||||
BUG="$1" BUG_C="$2" FIX="Fix: $3" FIX_C="$4" OUT="$5"
|
||||
LABEL="QA Bot"
|
||||
LW=$(( ${#LABEL} * 7 + 12 ))
|
||||
BW=$(( ${#BUG} * 7 + 12 ))
|
||||
@@ -1095,12 +1095,12 @@ jobs:
|
||||
SOLN_RESULT="APPROVED" SOLN_COLOR="#4c1"
|
||||
fi
|
||||
|
||||
# Single combined badge: QA Bot | Bug: X | Fix: Y
|
||||
# Single combined badge: QA Bot | Issue: X | Fix: Y
|
||||
/tmp/gen-badge-dual.sh \
|
||||
"${REPRO_RESULT:-UNKNOWN}" "${REPRO_COLOR}" \
|
||||
"${SOLN_RESULT:-UNKNOWN}" "${SOLN_COLOR}" \
|
||||
"$DEPLOY_DIR/badge.svg"
|
||||
BADGE_STATUS="Bug: ${REPRO_RESULT:-UNKNOWN} | Fix: ${SOLN_RESULT:-UNKNOWN}"
|
||||
BADGE_STATUS="${REPRO_RESULT:-UNKNOWN} | Fix: ${SOLN_RESULT:-UNKNOWN}"
|
||||
fi
|
||||
echo "badge_status=${BADGE_STATUS:-FINISHED}" >> "$GITHUB_OUTPUT"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user