deployment-marker-action icon indicating copy to clipboard operation
deployment-marker-action copied to clipboard

Minimum required fields documentation incorrect

Open marvaul opened this issue 1 year ago • 2 comments

The fields documented are prompting an error. I guess it should be:

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/[email protected]
        with:
          apiKey: ${{ secrets.NEW_RELIC_API_KEY }}
          region: "US"
          guid: ${{ secrets.NEW_RELIC_DEPLOYMENT_ENTITY_GUID }}
          version: "${{ env.RELEASE_VERSION }}"
          user: "${{ github.actor }}"

marvaul avatar Jun 05 '23 06:06 marvaul

Unfortunately I cannot push, as I would have supplied the PR.

marvaul avatar Jun 05 '23 06:06 marvaul

Hi @marvaul - thank you for reporting this issue. We see that the workflow you've specified in the description has been adapted from this piece in the documentation - however, can you give us a little more detail on which attribute (you think) could be causing the error you're seeing, and some details on the error you're seeing too? This would help us understand the issue better - thanks!

pranav-new-relic avatar Jun 05 '23 07:06 pranav-new-relic