From ec81d7df00aefa7b06a963079355f58013a04ec2 Mon Sep 17 00:00:00 2001 From: Chris Brentano Date: Thu, 11 Jul 2024 08:01:48 -0700 Subject: [PATCH] Slack payload message tweak (#795) I noticed that `env.GITHUB_ACTOR` is always `???` so I tossed that. Reordered the text fields a little, and made the values bold. And moved the workflow name to the empty text field spot. --- .github/workflows/payload-slack-content.json | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/payload-slack-content.json b/.github/workflows/payload-slack-content.json index 2e452682..768b35aa 100644 --- a/.github/workflows/payload-slack-content.json +++ b/.github/workflows/payload-slack-content.json @@ -1,5 +1,5 @@ { - "text": ":link-run:", + "text": ":triforce:", "attachments": [ { "color": "{{ env.STATUS_COLOR }}", @@ -8,7 +8,7 @@ "type": "header", "text": { "type": "plain_text", - "text": ":link-wut: Github Action Notification :link-wut:\n{{ github.workflow }}", + "text": "Github Action Notification :navi: :link-wut:", "emoji": true } }, @@ -17,22 +17,22 @@ "fields": [ { "type": "plain_text", - "text": "{{ env.RELEASE_NAME }}", + "text": "By: *{{ env.GITHUB_ACTOR }}*", "emoji": true }, { "type": "plain_text", - "text": "{{ env.GITHUB_ACTOR }}", + "text": "Repo: *{{ env.GITHUB_REPOSITORY }}*", "emoji": true }, { "type": "plain_text", - "text": "{{ env.GITHUB_REPOSITORY }}", + "text": "Tag: *{{ env.GITHUB_REF_NAME }}*", "emoji": true }, { "type": "plain_text", - "text": "{{ env.GITHUB_REF_NAME }}", + "text": "Workflow: *{{ github.workflow }}*", "emoji": true } ]