Skip to content

Commit

Permalink
Evaluating Backward Compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
archive committed Jan 30, 2024
1 parent df8416e commit d189744
Showing 1 changed file with 47 additions and 0 deletions.
47 changes: 47 additions & 0 deletions .github/workflows/13-slack-message-blocks-other-key-name.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
name: test-13-slack-message-blocks

on: [push, issues]

jobs:
slack-action:
#if: ${{ false }}
runs-on: ubuntu-20.04
name: Test 13 [ubuntu-20.04]

steps:
- name: Send Slack Message (Blocks - Different Key Name)
uses: archive/github-actions-slack@master
id: send-message
with:
slack-bot-user-oauth-access-token: ${{ secrets.SLACK_BOT_USER_OAUTH_ACCESS_TOKEN }}
slack-channel: C046J5U2RGC
slack-blocks: >-
[
{
"block_id": "text1",
"type": "section",
"text": {
"type": "mrkdwn",
"text": "TEST *TEST*"
}
},
{
"type": "divider"
},
{
"block_id": "text2",
"type": "context",
"elements": [
{
"type": "plain_text",
"text": "TEST..."
}
]
},
{
"type": "divider"
}
]
- name: Result from "Send Slack Message"
run: echo '${{ steps.send-message.outputs.slack-result }}'

0 comments on commit d189744

Please sign in to comment.