Skip to content

Commit

Permalink
fix: Set mention-to to text
Browse files Browse the repository at this point in the history
  • Loading branch information
Takashicc committed Mar 14, 2024
1 parent 33fe208 commit 0dba752
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,8 @@ async function run(inputs: SlackApprovalInputs, app: App): Promise<void> {
(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: {
Expand Down

0 comments on commit 0dba752

Please sign in to comment.