Release 1.6.1 #3
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Datadog Event | |
on: | |
release: | |
types: [published] | |
jobs: | |
send-release-event: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Send Release Event | |
run: | | |
curl -sX POST "https://api.datadoghq.eu/api/v1/events" \ | |
-H "Accept: application/json" \ | |
-H "Content-Type: application/json" \ | |
-H "DD-API-KEY: ${{ secrets.DATADOG_API_KEY }}" \ | |
--data-raw '{ | |
"title": "Jazzer.js has been released", | |
"text": "%%% \nJazzer.js has been released with version **${{ github.event.release.tag_name }}**\n %%%", | |
"tags": [ | |
"repo:${{ github.repository }}", | |
"project:Jazzer.js", | |
"version:${{ github.event.release.tag_name }}" | |
] | |
}' |