diff --git a/src/index.ts b/src/index.ts index 8171d3cd..f87e1b3c 100644 --- a/src/index.ts +++ b/src/index.ts @@ -13,15 +13,8 @@ async function run(inputs: SlackApprovalInputs, app: App): Promise { (async () => { await web.chat.postMessage({ channel: inputs.channelId, - text: "GitHub Actions Approval request", + text: `<@${inputs.mentionTo}>\nGitHub Actions Approval request`, blocks: [ - { - type: "section", - text: { - type: "mrkdwn", - text: `<@${inputs.mentionTo}>`, - }, - }, { type: "section", text: {