Skip to content

Commit

Permalink
Slack payload message tweak (#795)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
ctbfourone authored Jul 11, 2024
1 parent ec3748c commit ec81d7d
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/payload-slack-content.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"text": ":link-run:",
"text": ":triforce:",
"attachments": [
{
"color": "{{ env.STATUS_COLOR }}",
Expand All @@ -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
}
},
Expand All @@ -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
}
]
Expand Down

0 comments on commit ec81d7d

Please sign in to comment.