From 8b070d9a64133e97ac5e759d23a8cc70d9d5e193 Mon Sep 17 00:00:00 2001 From: Stefan Ceriu <stefan.ceriu@gmail.com> Date: Mon, 24 Mar 2025 12:11:08 +0200 Subject: [PATCH] Revert `codecov/codecov-action` changes and add `allowedVersions` renovate rule. --- .github/workflows/integration-tests.yml | 2 +- .github/workflows/ui_tests.yml | 2 +- .github/workflows/unit_tests.yml | 2 +- renovate.json | 4 ++++ 4 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.github/workflows/integration-tests.yml b/.github/workflows/integration-tests.yml index e526acc29..b98e070aa 100644 --- a/.github/workflows/integration-tests.yml +++ b/.github/workflows/integration-tests.yml @@ -73,7 +73,7 @@ jobs: run: xcresultparser -q -o cobertura -t ElementX -p $(pwd) fastlane/test_output/IntegrationTests.xcresult > fastlane/test_output/integration-cobertura.xml - name: Upload coverage to Codecov - uses: codecov/codecov-action@0565863a31f2c772f9f0395002a31e3f06189574 # v5.4.0 + uses: codecov/codecov-action@ab904c41d6ece82784817410c45d8b8c02684457 # v3.1.6 with: fail_ci_if_error: true token: ${{ secrets.CODECOV_TOKEN }} diff --git a/.github/workflows/ui_tests.yml b/.github/workflows/ui_tests.yml index 056c559ff..b1430675c 100644 --- a/.github/workflows/ui_tests.yml +++ b/.github/workflows/ui_tests.yml @@ -59,7 +59,7 @@ jobs: run: xcresultparser -q -o cobertura -t ElementX -p $(pwd) fastlane/test_output/UITests.xcresult > fastlane/test_output/ui-cobertura.xml - name: Upload coverage to Codecov - uses: codecov/codecov-action@0565863a31f2c772f9f0395002a31e3f06189574 # v5.4.0 + uses: codecov/codecov-action@ab904c41d6ece82784817410c45d8b8c02684457 # v3.1.6 with: fail_ci_if_error: true token: ${{ secrets.CODECOV_TOKEN }} diff --git a/.github/workflows/unit_tests.yml b/.github/workflows/unit_tests.yml index ea03998af..198180b91 100644 --- a/.github/workflows/unit_tests.yml +++ b/.github/workflows/unit_tests.yml @@ -61,7 +61,7 @@ jobs: - name: Upload coverage to Codecov if: ${{ github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository }} # Skip in forks - uses: codecov/codecov-action@0565863a31f2c772f9f0395002a31e3f06189574 # v5.4.0 + uses: codecov/codecov-action@ab904c41d6ece82784817410c45d8b8c02684457 # v3.1.6 with: fail_ci_if_error: true token: ${{ secrets.CODECOV_TOKEN }} diff --git a/renovate.json b/renovate.json index ae25c1deb..db1c22c14 100644 --- a/renovate.json +++ b/renovate.json @@ -19,6 +19,10 @@ { "matchManagers": ["bundler"], "groupName" : "Ruby" + }, + { + "matchPackageNames": ["codecov/codecov-action"], + "allowedVersions": "^3.0.0" } ] } -- GitLab