Skip to content

Commit 827db55

Browse files
committed
adding a notification for failed testnet nightly tests
1 parent e74d998 commit 827db55

File tree

1 file changed

+1
-14
lines changed

1 file changed

+1
-14
lines changed

.github/workflows/testnet.yaml

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -136,19 +136,6 @@ jobs:
136136
run: |
137137
script -e -c "yarn profile::testnet"
138138
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-
152139
- name: Send Slack notification on failure
153140
if: failure()
154141
uses: slackapi/slack-github-action@v2.1.1
@@ -161,4 +148,4 @@ jobs:
161148
- type: "section"
162149
text:
163150
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>"
151+
text: "*Testnet Tests Failed*\n:x: Workflow: `${{ github.workflow }}`\n:herb: 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>"

0 commit comments

Comments
 (0)