github.com/drone/go-convert@v0.0.0-20240307072510-6bd371c65e61/convert/circle/testdata/orbs/slack.yaml (about)

     1  version: 2.1
     2  
     3  orbs:
     4    slack: circleci/slack@4.1
     5  
     6  jobs:
     7    notify:
     8      docker:
     9        - image: cimg/base:stable
    10      steps:
    11        - slack/notify:
    12            custom: |
    13              {
    14                "blocks": [
    15                  {
    16                    "type": "section",
    17                    "fields": [
    18                      {
    19                        "type": "plain_text",
    20                        "text": "*This is a text notification*",
    21                        "emoji": true
    22                      }
    23                    ]
    24                  }
    25                ]
    26              }
    27            event: always
    28  workflows:
    29    send-notification:
    30      jobs:
    31        - notify:
    32            context: slack-secrets