mirror of
https://github.com/n8n-io/n8n.git
synced 2025-03-05 20:50:17 -08:00
add slack config
This commit is contained in:
parent
1b6380d3bc
commit
8c0670749d
31
.github/slack.yml
vendored
Normal file
31
.github/slack.yml
vendored
Normal file
|
@ -0,0 +1,31 @@
|
|||
username: Test-Workflow
|
||||
icon_url: https://d33wubrfki0l68.cloudfront.net/b8db213a4d85ebec7b82272cacb727a05a9a1475/96e9f/_images/n8n-docs-icon.svg
|
||||
|
||||
pretext: Triggered via {{eventName}} by {{actor}} {{or action "action"}} {{ref}} `{{diffRef}}`
|
||||
title: GitHub Actions
|
||||
title_link: https://support.github.com
|
||||
|
||||
text: |
|
||||
*<{{workflowRunUrl}}|Workflow _{{workflow}}_ job _{{jobName}}_ triggered by _{{eventName}}_ is _{{jobStatus}}_>* for <{{refUrl}}|`{{ref}}`>
|
||||
*Error*
|
||||
{{steps.tests.outputs}}
|
||||
{{payload}}
|
||||
|
||||
fallback: |-
|
||||
[GitHub] {{workflow}} #{{runNumber}} {{jobName}} is {{jobStatus}}
|
||||
|
||||
footer: >-
|
||||
<{{repositoryUrl}}|{{repositoryName}}> {{workflow}} #{{runNumber}}
|
||||
|
||||
colors:
|
||||
success: '#5DADE2'
|
||||
failure: '#884EA0'
|
||||
cancelled: '#A569BD'
|
||||
default: '#7D3C98'
|
||||
|
||||
icons:
|
||||
success: ':white_check_mark:'
|
||||
failure: ':grimacing:'
|
||||
cancelled: ':x:'
|
||||
skipped: ':heavy_minus_sign:'
|
||||
default: ':interrobang:'
|
2
.github/workflows/test-workflows.yml
vendored
2
.github/workflows/test-workflows.yml
vendored
|
@ -103,4 +103,4 @@ jobs:
|
|||
status: ${{ job.status }}
|
||||
channel: '#updates-build-alerts-test'
|
||||
webhook-url: ${{ secrets.SLACK_WEBHOOK_URL }}
|
||||
message: ${{ steps.tests.outputs.slackMessage}} (${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }})
|
||||
message: ${{ steps.tests.outputs}} (${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }})
|
||||
|
|
Loading…
Reference in a new issue