From 74a7b9ec01fc7d6ef41ea97284cd5a93a2c1948a Mon Sep 17 00:00:00 2001 From: Narin Ratana Date: Thu, 26 Oct 2023 12:52:05 -0700 Subject: [PATCH] Update slack formatting --- .github/workflows/publish-package.yml | 23 +++++++++++++++++++---- 1 file changed, 19 insertions(+), 4 deletions(-) diff --git a/.github/workflows/publish-package.yml b/.github/workflows/publish-package.yml index 3f47a6d6..4c0425ce 100644 --- a/.github/workflows/publish-package.yml +++ b/.github/workflows/publish-package.yml @@ -99,10 +99,25 @@ jobs: "type": "section", "text": { "type": "mrkdwn", - "text": "${{ steps.bump-version.outputs.NEW_VERSION }} of ${{ steps.bump-version.outputs.NPM_PACKAGE_NAME }} has been published to NPM \n • \n • " - }, - "unfurl_links": false, - "unfurl_media": false + "text": "Published a new version of *${{ steps.bump-version.outputs.NPM_PACKAGE_NAME }}* to NPM" + } + }, + { + "type": "context", + "elements": [ + { + "type": "mrkdwn", + "text": "*Version:* ${{ steps.bump-version.outputs.NEW_VERSION }}" + }, + { + "type": "mrkdwn", + "text": "" + }, + { + "type": "mrkdwn", + "text": "" + } + ] } ] }