From 2ed373c7a34ce2f8efbd0fff0cc266c059cbe5f1 Mon Sep 17 00:00:00 2001 From: Gguidini Date: Wed, 4 Oct 2023 17:06:41 -0300 Subject: [PATCH] Override fail-fast of GHA shell From https://github.com/orgs/community/discussions/46992#discussioncomment-4961541 This should allow us to populate the appropriate env vars even if the label-analysis step fails. Which is not the case currently (see https://github.com/giovanni-guidini/sentry/actions/runs/6409333248/job/17400305852) --- .github/workflows/codecov_ats.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/codecov_ats.yml b/.github/workflows/codecov_ats.yml index f2890f1923e4d6..20d85ffae98533 100644 --- a/.github/workflows/codecov_ats.yml +++ b/.github/workflows/codecov_ats.yml @@ -89,6 +89,7 @@ jobs: id: label_analysis continue-on-error: true run: | + set +e BASE_COMMIT=$(git rev-parse ${{ github.sha }}^) echo $BASE_COMMIT output=$(codecovcli --codecov-yml-path=codecov.yml label-analysis --dry-run --token=${CODECOV_STATIC_TOKEN} --base-sha=${BASE_COMMIT})