Skip to content

Commit

Permalink
add alert when nightly fails (arduino#667)
Browse files Browse the repository at this point in the history
  • Loading branch information
Massimiliano Pippi authored Apr 22, 2020
1 parent ecb3f52 commit 9073c13
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/nightly.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,3 +33,16 @@ jobs:
PLUGIN_BUCKET: ${{ secrets.DOWNLOADS_BUCKET }}
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}

- name: Report failure
if: failure()
uses: masci/datadog@v1
with:
api-key: ${{ secrets.DD_API_KEY }}
events: |
- title: "Arduino CLI nighly build failed"
text: "Nightly build worfklow has failed"
alert_type: "error"
host: ${{ github.repository }}
tags:
- "project:arduino-cli"

0 comments on commit 9073c13

Please sign in to comment.