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

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