From 5a805fad00e1ccfb57381edfe567b80466d759ec Mon Sep 17 00:00:00 2001 From: Leon Kiefer Date: Thu, 15 Aug 2019 15:50:15 +0200 Subject: [PATCH] updated syntax highlighting to yaml --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 6dd2e62..8beb28d 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ This action wraps the Slack [chat.postMessage](https://api.slack.com/methods/cha ## Usage: -```workflow +```yaml - name: Notify slack env: SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }} @@ -36,7 +36,7 @@ To use this GitHub Action, you'll need to set a `SLACK_BOT_TOKEN` secret on GitH Slack's [chat.postMessage](https://api.slack.com/methods/chat.postMessage) method accepts a JSON payload containing options — this JSON payload should be supplied as the argument in your GitHub Action. At a bare minimum, your payload must include a channel ID and the message. Here's what a basic message might look like: -```workflow +```yaml - name: Notify slack env: SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }}