From 96a2577a59e2a31979a0d8228a23e90943f20228 Mon Sep 17 00:00:00 2001 From: Sebastien Flory Date: Thu, 28 Nov 2024 10:33:09 +0100 Subject: [PATCH] Add: better slack msg --- .github/actions/slack-notify/action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/actions/slack-notify/action.yml b/.github/actions/slack-notify/action.yml index 0a30e1d159b5f..221cac584b63e 100644 --- a/.github/actions/slack-notify/action.yml +++ b/.github/actions/slack-notify/action.yml @@ -103,5 +103,5 @@ runs: thread_ts: "${{ inputs.thread_ts }}" text: | ❌ Build pipeline failed - Is blocked by channel topic: ${{ inputs.blocked || "n/a" }} + ${{ inputs.blocked == 'true' && format('Is blocked by channel topic: {0}', inputs.blocked) }} • Check logs: <${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}|View details> \ No newline at end of file