Closed butchcarpio closed 1 year ago
im not sure if im doing this correct, but i forked the repo in our org and put this on my application repo workflow. `name: GHA-NR Exporter on: workflow_run: workflows: ['*'] types: [completed] # defaults to run on every completed workflow run event
env: GHA_TOKEN: ${{ secrets.DASH_KEY }} NEW_RELIC_LICENSE_KEY: ${{ secrets.NR_KEY }} GHA_RUN_ID: ${{ github.event.workflow_run.id }} GHA_RUN_NAME: ${{ github.event.workflow_run.name }}
jobs: new-relic-exporter: name: new-relic-exporter runs-on: ubuntu-latest if: ${{ always() }} steps:
getting bad credentials. we dont use PAT by the way.
got this working now since GITHUB_TOKEN is generated automatically, then i just need to authenticate using the DASH API key.
is the config the same if i use dash key?