diff --git a/.github/workflows/release_tracking.yml b/.github/workflows/release_tracking.yml new file mode 100644 index 0000000000..7b509d8fa9 --- /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 }}