From 1f19764127a7548d2cd72ccedac1829a0ea89be4 Mon Sep 17 00:00:00 2001 From: Chris Brentano Date: Thu, 11 Jul 2024 09:11:24 -0700 Subject: [PATCH] Update payload again (#797) Moves `env.GITHUB_REPOSITORY` back to the first column where it shouldn't line wrap, removes the markdown for bold text on the `plain_text` fields, but updates the `env.GITHUB_REF_NAME` field to `mrkdwn` so I can bolden the tag name. --- .github/workflows/payload-slack-content.json | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/payload-slack-content.json b/.github/workflows/payload-slack-content.json index 768b35a..606f782 100644 --- a/.github/workflows/payload-slack-content.json +++ b/.github/workflows/payload-slack-content.json @@ -17,22 +17,22 @@ "fields": [ { "type": "plain_text", - "text": "By: *{{ env.GITHUB_ACTOR }}*", + "text": "{{ env.GITHUB_REPOSITORY }}", "emoji": true }, { "type": "plain_text", - "text": "Repo: *{{ env.GITHUB_REPOSITORY }}*", + "text": "{{ env.GITHUB_ACTOR }}", "emoji": true }, { - "type": "plain_text", + "type": "mrkdwn", "text": "Tag: *{{ env.GITHUB_REF_NAME }}*", "emoji": true }, { "type": "plain_text", - "text": "Workflow: *{{ github.workflow }}*", + "text": "{{ github.workflow }}", "emoji": true } ]