From 7bdbe0670a87aba18af2469ad164674af9040067 Mon Sep 17 00:00:00 2001 From: Alessandro Bellesia Date: Tue, 2 Dec 2025 09:21:39 +0100 Subject: [PATCH] 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