From 70e9dbc1dcfe390b82d6170b3ef97547190aaf9d Mon Sep 17 00:00:00 2001 From: George Knee Date: Thu, 29 Aug 2024 23:11:51 +0100 Subject: [PATCH] add button with link to just-promotion-test slack message (#527) --- .circleci/config.yml | 49 ++++++++++++++++++++++++++------------------ 1 file changed, 29 insertions(+), 20 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 3dbe989ae..2d33833b5 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -131,29 +131,38 @@ jobs: - slack/notify: event: always custom: | - { - "blocks": [ - { - "type": "section", + { + "blocks": [ + { + "type": "section", + "text": { + "type": "mrkdwn", + "text": ":control_knobs: The daily report on standard candidate chains is ready!" + }, + "accessory": { + "type": "button", "text": { + "type": "plain_text", + "text": "👀 View Report", + "emoji": true + }, + "url": "${CIRCLE_BUILD_URL}" + } + }, + { + "type": "divider" + }, + { + "type": "context", + "elements": [ + { "type": "mrkdwn", - "text": ":control_knobs: The daily report on standard candidate chains is ready!" + "text": "Click the link to see what validation checks would fail if all candidate chains were promoted to standard (and exclusions removed)." } - }, - { - "type": "divider" - }, - { - "type": "context", - "elements": [ - { - "type": "mrkdwn", - "text": "👀 Click the link to see what validation checks would fail if all candidate chains were promoted to standard (and exclusions removed)." - } - ] - } - ] - } + ] + } + ] + } channel: C07GZVCCUS0 # to slack channel `notify-superchain-promotion-failures` publish-bot: environment: