File tree Expand file tree Collapse file tree 1 file changed +15
-1
lines changed Expand file tree Collapse file tree 1 file changed +15
-1
lines changed Original file line number Diff line number Diff line change @@ -134,4 +134,18 @@ jobs:
134134 - name : Profile deployment on testnet
135135 if : ${{ !inputs.skip_deployment }}
136136 run : |
137- script -e -c "yarn profile::testnet"
137+ script -e -c "yarn profile::testnet"
138+
139+ - name : Send Slack notification on failure
140+ if : failure()
141+ uses : slackapi/slack-github-action@v2.1.1
142+ with :
143+ webhook : ${{ secrets.SLACK_WEBHOOK_URL }}
144+ webhook-type : incoming-webhook
145+ payload : |
146+ text: ":x: Testnet Tests Failed"
147+ blocks:
148+ - type: "section"
149+ text:
150+ type: "mrkdwn"
151+ text: "*Testnet Tests Failed* :x:\n*Repository:* ${{ github.repository }}\n*Run ID:* `${{ github.run_id }}`\n*Triggered:* ${{ github.event_name }}\n<${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}|:mag: View Logs and Details>"
You can’t perform that action at this time.
0 commit comments