From b0915ab9f123590a0524c81459d93341446015a3 Mon Sep 17 00:00:00 2001 From: Anders Date: Tue, 30 Jan 2024 09:42:50 +0100 Subject: [PATCH] Adding test to validate backward compatibility on blocks --- .github/workflows/11-slack-message-blocks.yml | 2 +- .github/workflows/12-slack-message-blocks-update.yml | 2 +- ...yml => 13-slack-message-blocks-backward-compatibility.yml} | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) rename .github/workflows/{13-slack-message-blocks-other-key-name.yml => 13-slack-message-blocks-backward-compatibility.yml} (92%) diff --git a/.github/workflows/11-slack-message-blocks.yml b/.github/workflows/11-slack-message-blocks.yml index e7fdce1..16cc88e 100644 --- a/.github/workflows/11-slack-message-blocks.yml +++ b/.github/workflows/11-slack-message-blocks.yml @@ -15,7 +15,7 @@ jobs: with: slack-bot-user-oauth-access-token: ${{ secrets.SLACK_BOT_USER_OAUTH_ACCESS_TOKEN }} slack-channel: C046J5U2RGC - slack-blocks: >- + slack-optional-blocks: >- [ { "block_id": "text1", diff --git a/.github/workflows/12-slack-message-blocks-update.yml b/.github/workflows/12-slack-message-blocks-update.yml index 58185f3..531f49d 100644 --- a/.github/workflows/12-slack-message-blocks-update.yml +++ b/.github/workflows/12-slack-message-blocks-update.yml @@ -15,7 +15,7 @@ jobs: with: slack-bot-user-oauth-access-token: ${{ secrets.SLACK_BOT_USER_OAUTH_ACCESS_TOKEN }} slack-channel: C046FKM3TNF - slack-blocks: >- + slack-optional-blocks: >- [ { "block_id": "text1", diff --git a/.github/workflows/13-slack-message-blocks-other-key-name.yml b/.github/workflows/13-slack-message-blocks-backward-compatibility.yml similarity index 92% rename from .github/workflows/13-slack-message-blocks-other-key-name.yml rename to .github/workflows/13-slack-message-blocks-backward-compatibility.yml index dff99ad..f12ac03 100644 --- a/.github/workflows/13-slack-message-blocks-other-key-name.yml +++ b/.github/workflows/13-slack-message-blocks-backward-compatibility.yml @@ -15,8 +15,8 @@ jobs: with: slack-bot-user-oauth-access-token: ${{ secrets.SLACK_BOT_USER_OAUTH_ACCESS_TOKEN }} slack-channel: C06G1B1KLMU - #slack-blocks: >- - slack-optional-blocks: >- + # This is an old format, the correct one is "slack-optional-blocks" + slack-blocks: >- [ { "block_id": "text1",