ci: don't call datadog test logging on forks (#44194)

Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org>
This commit is contained in:
trop[bot]
2024-10-11 09:42:10 -04:00
committed by GitHub
parent d262568f77
commit 4ccf4fa97d
3 changed files with 6 additions and 3 deletions

View File

@@ -197,7 +197,10 @@ jobs:
DD_API_KEY: ${{ secrets.DD_API_KEY }}
DD_CIVISIBILITY_LOGS_ENABLED: true
DD_TAGS: "os.architecture:${{ inputs.target-arch }},os.family:${{ inputs.target-platform }},os.platform:${{ inputs.target-platform }},asan:${{ inputs.is-asan }}"
run: datadog-ci junit upload src/electron/junit/test-results-main.xml
run: |
if ! [ -z $DD_API_KEY ]; then
datadog-ci junit upload src/electron/junit/test-results-main.xml
fi
if: always() && !cancelled()
- name: Wait for active SSH sessions
if: always() && !cancelled()