From dae343e796b62fa38410dd00c9964c7add474112 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 e2ac52f37bf7..f76863fa8b4e 100644 --- a/.github/actions/slack-notify/action.yml +++ b/.github/actions/slack-notify/action.yml @@ -94,5 +94,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