Skip to content

Commit

Permalink
chore(ci): fix release notify icon (#15750)
Browse files Browse the repository at this point in the history
  • Loading branch information
everpcpc authored Jun 7, 2024
1 parent 7f1fbd4 commit 0617f70
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/scripts/notify_release.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,21 +14,21 @@ module.exports = async ({ context, core }) => {
const statuses = JOBS_STATUS.split(",");
if (statuses.includes("failure")) {
releaseStatus = "failure";
icon = "🔥";
releaseIcon = "🔥";
} else if (statuses.includes("skipped")) {
releaseStatus = "skipped";
icon = "🚫";
releaseIcon = "🚫";
} else if (statuses.includes("cancelled")) {
releaseStatus = "cancelled";
icon = "🚫";
releaseIcon = "🚫";
}

const reportData = {
msg_type: "post",
content: {
post: {
en_us: {
title: `${releaseIcon} [Release] ${VERSION} (${releaseStatus})`,
title: `${releaseIcon}(${releaseStatus}) [Release] ${VERSION}`,
content: [
[
{
Expand Down

0 comments on commit 0617f70

Please sign in to comment.