From e63ca473af8348c10e8e2665eefd6226faff6a2a Mon Sep 17 00:00:00 2001 From: Jon Rohan Date: Sat, 11 May 2024 01:55:27 +0000 Subject: [PATCH] Create a release event tracking workflow --- .github/workflows/release_tracking.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .github/workflows/release_tracking.yml diff --git a/.github/workflows/release_tracking.yml b/.github/workflows/release_tracking.yml new file mode 100644 index 00000000000..7b509d8fa93 --- /dev/null +++ b/.github/workflows/release_tracking.yml @@ -0,0 +1,19 @@ +name: Release Event Tracking +# Measure a datadog event every time a release occurs + +on: + pull_request: + types: + - closed + - opened + - reopened + + release: + types: [published] + +jobs: + release-tracking: + name: Release Tracking + uses: primer/.github/.github/workflows/release_tracking.yml@create_release_tracking_workflow + secrets: + datadog_api_key: ${{ secrets.DATADOG_API_KEY }}