fleet/.github/workflows/config/slack_payload_template.json
Lucas Manuel Rodriguez 01f9963856
Add summary to test-go.yml Slack message when it fails (#18188)
This is to clearly see what is failing. (Looking through the thousands
of log lines via the URL is tedious.)

![Screenshot 2024-04-10 at 1 25
31 PM](https://github.com/fleetdm/fleet/assets/2073526/b64edc4b-6c88-4385-80e2-7babb1d4f3e5)
2024-04-10 18:04:26 -03:00

19 lines
No EOL
473 B
JSON

{
"text": "${{ env.JOB_STATUS }}\n${{ env.EVENT_URL }}",
"blocks": [
{
"type": "section",
"text": {
"type": "mrkdwn",
"text": "Go tests result: ${{ env.JOB_STATUS }}\n${{ env.RUN_URL }}"
}
},
{
"type": "section",
"text": {
"type": "mrkdwn",
"text": "Summary:\n```${GO_FAIL_SUMMARY}```"
}
}
]
}