Skip to content

Commit 9073c13

Browse files
author
Massimiliano Pippi
authored
add alert when nightly fails (#667)
1 parent ecb3f52 commit 9073c13

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

.github/workflows/nightly.yaml

+13
Original file line numberDiff line numberDiff line change
@@ -33,3 +33,16 @@ jobs:
3333
PLUGIN_BUCKET: ${{ secrets.DOWNLOADS_BUCKET }}
3434
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
3535
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
36+
37+
- name: Report failure
38+
if: failure()
39+
uses: masci/datadog@v1
40+
with:
41+
api-key: ${{ secrets.DD_API_KEY }}
42+
events: |
43+
- title: "Arduino CLI nighly build failed"
44+
text: "Nightly build worfklow has failed"
45+
alert_type: "error"
46+
host: ${{ github.repository }}
47+
tags:
48+
- "project:arduino-cli"

0 commit comments

Comments
 (0)