From 290b9bd77518ad55eeb8b2db08d1814224a8bade Mon Sep 17 00:00:00 2001 From: Mac Siri Date: Wed, 12 Jul 2023 09:08:50 -0400 Subject: [PATCH] [CI] Add branch specific rule for codecov upload (#19736) --- .github/workflows/ci-cd.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci-cd.yml b/.github/workflows/ci-cd.yml index 9ab319e56..22549aa72 100644 --- a/.github/workflows/ci-cd.yml +++ b/.github/workflows/ci-cd.yml @@ -427,27 +427,27 @@ jobs: with: | flags: ruby directory: coverage/simplecov - fail_ci_if_error: true + fail_ci_if_error: ${{ github.ref != 'refs/heads/main' }} attempt_limit: 5 - attempt_delay: 10000 + attempt_delay: 30000 - uses: Wandalen/wretry.action@master with: action: codecov/codecov-action@v3 with: | flags: jest, javascript directory: coverage/jest - fail_ci_if_error: true + fail_ci_if_error: ${{ github.ref != 'refs/heads/main' }} attempt_limit: 5 - attempt_delay: 10000 + attempt_delay: 30000 - uses: Wandalen/wretry.action@master with: action: codecov/codecov-action@v3 with: | flags: cypress, javascript directory: coverage/cypress - fail_ci_if_error: true + fail_ci_if_error: ${{ github.ref != 'refs/heads/main' }} attempt_limit: 5 - attempt_delay: 10000 + attempt_delay: 30000 CI-status-report: runs-on: ubuntu-latest