From 777b996286ae8a8ff8ef63c77947f8e397011195 Mon Sep 17 00:00:00 2001 From: hc-github-team-secure-vault-core <82990506+hc-github-team-secure-vault-core@users.noreply.github.com> Date: Wed, 26 Apr 2023 12:22:27 -0400 Subject: [PATCH] backport of commit 183a975beaa4cde6d28baf59a247780757d14d99 (#20365) Co-authored-by: Kuba Wieczorek --- .github/workflows/test-go.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test-go.yml b/.github/workflows/test-go.yml index bc7178c213c9..d0eeeeed81ff 100644 --- a/.github/workflows/test-go.yml +++ b/.github/workflows/test-go.yml @@ -171,7 +171,7 @@ jobs: \ ${test_packages[${{ matrix.runner-index }}]} - name: Prepare datadog-ci - if: github.repository == 'hashicorp/vault' + if: github.repository == 'hashicorp/vault' && always() continue-on-error: true run: | curl -L --fail "https://github.com/DataDog/datadog-ci/releases/latest/download/datadog-ci_linux-x64" --output "/usr/local/bin/datadog-ci" @@ -185,6 +185,7 @@ jobs: export DATADOG_API_KEY=${{ secrets.DATADOG_API_KEY }} fi datadog-ci junit upload --service "$GITHUB_REPOSITORY" test-results/go-test/results.xml + if: always() - name: Archive test results uses: actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce with: