Skip to content

Commit

Permalink
Update payload again (#797)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
ctbfourone authored Jul 11, 2024
1 parent ec81d7d commit 1f19764
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/payload-slack-content.json
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
]
Expand Down

0 comments on commit 1f19764

Please sign in to comment.