File tree Expand file tree Collapse file tree 1 file changed +28
-1
lines changed Expand file tree Collapse file tree 1 file changed +28
-1
lines changed Original file line number Diff line number Diff line change @@ -134,4 +134,31 @@ 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 workflow start
140+ uses : slackapi/slack-github-action@v2.1.1
141+ with :
142+ webhook : ${{ secrets.SLACK_WEBHOOK_URL }}
143+ webhook-type : incoming-webhook
144+ payload : |
145+ text: ":rocket: Testnet Tests Started"
146+ blocks:
147+ - type: "section"
148+ text:
149+ type: "mrkdwn"
150+ text: "*Testnet Tests Started*\n:rocket: Workflow: `${{ github.workflow }}`\n:git-branch: Branch: `${{ github.ref_name }}`\n:bust_in_silhouette: Actor: ${{ github.actor }}\n:link: <${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}|View Run>"
151+
152+ - name : Send Slack notification on failure
153+ if : failure()
154+ uses : slackapi/slack-github-action@v2.1.1
155+ with :
156+ webhook : ${{ secrets.SLACK_WEBHOOK_URL }}
157+ webhook-type : incoming-webhook
158+ payload : |
159+ text: ":x: Testnet Tests Failed"
160+ blocks:
161+ - type: "section"
162+ text:
163+ type: "mrkdwn"
164+ text: "*Testnet Tests Failed*\n:x: Workflow: `${{ github.workflow }}`\n:git-branch: Branch: `${{ github.ref_name }}`\n:bust_in_silhouette: Actor: ${{ github.actor }}\n:link: <${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}|View Run>"
You can’t perform that action at this time.
0 commit comments