Merge pull request #4054 from vincent-tarrit/4053-fix-slack-notifications-content

fix: actions in slack notification
This commit is contained in:
Mauricio Siu
2026-04-05 13:45:33 -06:00
committed by GitHub
2 changed files with 6 additions and 10 deletions
@@ -240,12 +240,10 @@ export const sendBuildErrorNotifications = async ({
value: `\`\`\`${errorMessage}\`\`\``, value: `\`\`\`${errorMessage}\`\`\``,
short: false, short: false,
}, },
],
actions: [
{ {
type: "button", title: "Details",
text: "View Build Details", value: `<${buildLink}|View Build Details>`,
url: buildLink, short: false,
}, },
], ],
}, },
@@ -256,12 +256,10 @@ export const sendBuildSuccessNotifications = async ({
value: date.toLocaleString(), value: date.toLocaleString(),
short: true, short: true,
}, },
],
actions: [
{ {
type: "button", title: "Details",
text: "View Build Details", value: `<${buildLink}|View Build Details>`,
url: buildLink, short: false,
}, },
], ],
}, },