Skip to content

Commit 671f1df

Browse files
committed
ci: fix PR summary output
1 parent d3bab0e commit 671f1df

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/management.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ jobs:
8080
echo "" >> $GITHUB_STEP_SUMMARY
8181
echo "### 📝 상세 결과" >> $GITHUB_STEP_SUMMARY
8282
echo "" >> $GITHUB_STEP_SUMMARY
83-
echo "$response" | jq -r '.results[] | "- PR #\(.pr_number): \(.status) \(if .reason then "(\(.reason))" else "" end)"' >> $GITHUB_STEP_SUMMARY
83+
echo "$response" | jq -r '.results[] | "- PR #\(.pr) [\(.title)]: \(if .skipped then "⏭️ skipped (\(.reason))" elif .approved then "✅ approved" else "❌ failed (\(.error // "unknown"))" end)"' >> $GITHUB_STEP_SUMMARY
8484
fi
8585
8686
merge-prs:
@@ -149,5 +149,5 @@ jobs:
149149
echo "" >> $GITHUB_STEP_SUMMARY
150150
echo "### 📝 상세 결과" >> $GITHUB_STEP_SUMMARY
151151
echo "" >> $GITHUB_STEP_SUMMARY
152-
echo "$response" | jq -r '.results[] | "- PR #\(.pr_number): \(.status) \(if .reason then "(\(.reason))" else "" end)"' >> $GITHUB_STEP_SUMMARY
152+
echo "$response" | jq -r '.results[] | "- PR #\(.pr) [\(.title)]: \(if .skipped then "⏭️ skipped (\(.reason))" elif .merged then "✅ merged" else "❌ failed (\(.error // "unknown"))" end)"' >> $GITHUB_STEP_SUMMARY
153153
fi

0 commit comments

Comments
 (0)