From ea51af7cf331c81340d367f4b09a22f0842adde9 Mon Sep 17 00:00:00 2001 From: ndesai-newrelic <89222514+ndesai-newrelic@users.noreply.github.com> Date: Thu, 15 Aug 2024 15:30:00 -0500 Subject: [PATCH] Create test-chang-tracking --- .github/workflows/test-chang-tracking | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .github/workflows/test-chang-tracking diff --git a/.github/workflows/test-chang-tracking b/.github/workflows/test-chang-tracking new file mode 100644 index 0000000..d1f9911 --- /dev/null +++ b/.github/workflows/test-chang-tracking @@ -0,0 +1,21 @@ +name: Change Tracking Marker + on: + release: + types: [published] + + jobs: + newrelic: + runs-on: ubuntu-latest + name: New Relic + steps: + # This step builds a var with the release tag value to use later + - name: Set Release Version from Tag + run: echo "RELEASE_VERSION=${{ github.ref_name }}" >> $GITHUB_ENV + # This step creates a new Change Tracking Marker + - name: New Relic Application Deployment Marker + uses: newrelic/deployment-marker-action@v2.3.0 + with: + apiKey: ${{ secrets.NEW_RELIC_API_KEY }} + guid: ${{ secrets.NEW_RELIC_DEPLOYMENT_ENTITY_GUID }} + version: "${{ env.RELEASE_VERSION }}" + user: "${{ github.actor }}"