mirror of
https://github.com/n8n-io/n8n.git
synced 2024-11-09 22:24:05 -08:00
update payload
This commit is contained in:
parent
397d10c5c4
commit
4ea955c85e
31
.github/workflows/test-workflows.yml
vendored
31
.github/workflows/test-workflows.yml
vendored
|
@ -86,5 +86,32 @@ jobs:
|
|||
env:
|
||||
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
|
||||
with:
|
||||
payload-file-path: '../payloadSlack.json'
|
||||
channel-id: '#updates-build-alerts-test'
|
||||
payload: |
|
||||
{
|
||||
'blocks':
|
||||
[
|
||||
{
|
||||
'type': 'header',
|
||||
'text':
|
||||
{
|
||||
'type': 'plain_text',
|
||||
'text': ' 🛑 Test Workflow Failed 🛑',
|
||||
'emoji': true,
|
||||
},
|
||||
},
|
||||
{
|
||||
'type': 'section',
|
||||
'text':
|
||||
{
|
||||
'type': 'mrkdwn',
|
||||
'text': '<${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}| Test Workflow > for `${{github.event.pull_request.title}}`',
|
||||
},
|
||||
},
|
||||
{ 'type': 'divider' },
|
||||
{
|
||||
'type': 'section',
|
||||
'text': { 'type': 'mrkdwn', 'text': '${{ steps.tests.outputs.slackMessage}}' },
|
||||
},
|
||||
],
|
||||
}
|
||||
channel-id: 'C058UD406CA'
|
||||
|
|
Loading…
Reference in a new issue