We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7ee4e4f commit 5e00432Copy full SHA for 5e00432
.github/workflows/datadog.yaml
@@ -0,0 +1,25 @@
1
+name: Datadog Event
2
+
3
+on:
4
+ release:
5
+ types: [published]
6
7
+jobs:
8
+ send-release-event:
9
+ runs-on: ubuntu-latest
10
+ steps:
11
+ - name: Send Release Event
12
+ run: |
13
+ curl -sX POST "https://api.datadoghq.eu/api/v1/events" \
14
+ -H "Accept: application/json" \
15
+ -H "Content-Type: application/json" \
16
+ -H "DD-API-KEY: ${{ secrets.DATADOG_API_KEY }}" \
17
+ --data-raw '{
18
+ "title": "Jazzer.js has been released",
19
+ "text": "%%% \nJazzer.js version **${{ github.event.release.tag_name }}** has been released.\n %%%",
20
+ "tags": [
21
+ "repo:${{ github.repository }}",
22
+ "project:Jazzer.js",
23
+ "version:${{ github.event.release.tag_name }}"
24
+ ]
25
+ }'
0 commit comments