looker-open-source / actions

MIT License
62 stars 103 forks source link

[Slack integration] files.completeUploadExternal.initial_comment does not support mrkdwn format #517

Open teka23 opened 1 year ago

teka23 commented 1 year ago

https://github.com/looker-open-source/actions/blob/f9a87a9b67758271b9144770be6017992c61d30f/src/actions/slack/utils.ts#L143

It looks like files.completeUploadExternal.initial_comment does not support mrkdwn format and the comment is showing up as plain text.

teka23 commented 1 year ago

https://github.com/slackapi/node-slack-sdk/issues/1561

teka23 commented 1 year ago

As Slack people recommended, we might need to upload the file first and use that file as an attachment. Or, send comment first and add the attachment to the thread