Skip to content

Commit 3890403

Browse files
authored
Update run_smart_accounts.yml
1 parent 2c8ddab commit 3890403

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

.github/workflows/run_smart_accounts.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,3 +129,14 @@ jobs:
129129
./cypress/screenshots
130130
./cypress/videos
131131
retention-days: 7
132+
133+
failure_alert:
134+
if: failure() && github.event_name == 'schedule' # Runs only if a previous job failed & triggered by cron
135+
runs-on: ubuntu-latest
136+
needs: [run-zero-dev, run-safe, run-wallet]
137+
steps:
138+
- name: Send failure notification
139+
run: |
140+
curl -X POST "https://allquiet.app/api/webhook/829f846c-4dfa-4a58-ab33-eafae34a57c9" \
141+
-H "Content-Type: application/json" \
142+
-d '{"status": "Open", "severity": "Critical", "message": "GitHub workflow failed", "run_url": "${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}"}'

0 commit comments

Comments
 (0)