diff --git a/.github/workflows/linux.yaml b/.github/workflows/linux.yaml index e15041dd6e616..ec6cf3d3b3a6f 100644 --- a/.github/workflows/linux.yaml +++ b/.github/workflows/linux.yaml @@ -70,3 +70,5 @@ jobs: with: platform: linux-coverage nightly: ${{ github.event.inputs.nightly }} + secrets: + DD_API_KEY: ${{ secrets.DD_API_KEY }} diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index 4e122d9de4b88..cadd9be017627 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -29,6 +29,10 @@ on: required: false type: boolean default: false + secrets: + DD_API_KEY: + description: DataDog API key + required: false # Global env vars. env: @@ -285,6 +289,7 @@ jobs: DD_TAGS: name:${{matrix.name}},platform:${{matrix.platform}} steps: # TODO: Check if artifact exists + # TODO: Check if secret is set - name: Collect Unit Test Reports uses: actions/download-artifact@v3 with: @@ -301,6 +306,6 @@ jobs: shell: bash run: | datadog-ci junit upload \ - --service cobalt \ + --service ${{ github.event.repository.name }} \ --max-concurrency 20 \ unit-test-reports/