From 7bdbe0670a87aba18af2469ad164674af9040067 Mon Sep 17 00:00:00 2001 From: Alessandro Bellesia Date: Tue, 2 Dec 2025 09:21:39 +0100 Subject: [PATCH 1/2] fix: workflow secrets add `secrets: inherit` to test wrokflow --- .github/workflows/main.yml | 1 + .github/workflows/pr-check-suite.yml | 1 + .github/workflows/test.yml | 1 - 3 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 11af7e7..7723619 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -16,6 +16,7 @@ jobs: test: needs: build uses: ./.github/workflows/test.yml + secrets: inherit publish-npm: needs: [test, analysis] diff --git a/.github/workflows/pr-check-suite.yml b/.github/workflows/pr-check-suite.yml index 2328813..112fda6 100644 --- a/.github/workflows/pr-check-suite.yml +++ b/.github/workflows/pr-check-suite.yml @@ -23,4 +23,5 @@ jobs: test: needs: build uses: ./.github/workflows/test.yml + secrets: inherit diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 0d71cce..e8aa43b 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -41,7 +41,6 @@ jobs: - name: Upload coverage to Codecov uses: codecov/codecov-action@v4 - if: matrix.os == 'ubuntu-latest' && matrix.node-version == '20.x' with: token: ${{ secrets.CODECOV_TOKEN }} files: ./coverage/coverage-final.json From 259422440dbfb4d85c557ec1eefbc6b5c51e8e27 Mon Sep 17 00:00:00 2001 From: Alessandro Bellesia Date: Tue, 2 Dec 2025 10:00:27 +0100 Subject: [PATCH 2/2] Upgrade codecov/codecov-action to v5 --- .github/workflows/test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index e8aa43b..7c0aa00 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -40,7 +40,7 @@ jobs: SATISPAY_KEY_ID: ${{ secrets.SATISPAY_KEY_ID }} - name: Upload coverage to Codecov - uses: codecov/codecov-action@v4 + uses: codecov/codecov-action@v5 with: token: ${{ secrets.CODECOV_TOKEN }} files: ./coverage/coverage-final.json